#1 2015-05-02 10:23:12

kradzcalypse
Member
Registered: 2015-04-20
Posts: 7

An Error Was Encountered Internal error : No pages found.

I've installed and run ionizecms on MAMP and everything was running smoothly until all files & database uploaded to web hosting server.

The webhosting support told me there is some issues and ask me to find solution from software developer. Please help me fix this.

Error messages :

"An Error Was Encountered

Internal error : No pages found.
Solution: Create at least one online page."

Web url : http://reezalaq.com/

Thank you.

Offline

#2 2015-05-05 11:23:00

otemu
Member
Registered: 2014-03-07
Posts: 183

Re: An Error Was Encountered Internal error : No pages found.

Hi,

Just tested your link and I see your site is up and running, does that mean you solved your issue?
If so can you edit your title and add "[solved]"

if this wasn't the solution:

Solution: Create at least one online page."

please add solution to help future people who view this post.

However if you are still experiencing issues let me know.

Thanks

Last edited by otemu (2015-05-05 11:23:36)

Offline

#3 2015-05-05 11:33:57

kradzcalypse
Member
Registered: 2015-04-20
Posts: 7

Re: An Error Was Encountered Internal error : No pages found.

Oh yea I solved it alright ..

Solved it by moving all my files to another web hosting because the old one probably limit certain functionalities which cause the problem and their technical support have no idea what they were doing. LOL!
All pages were online ..

Technically I don't know what causing it but their technical support told me there was some coding issues involved. Fortunately everything work just fine after the migration of the same installation. Next step, I just have to change nameservers for my domain to point at the new hosting account.

If anybody else having the same issues, they can either ask their web hosting support to check what's wrong with their hosting account setting or just migrate to other reliable hosting.

Last edited by kradzcalypse (2015-05-05 11:35:50)

Offline

#4 2018-06-11 15:21:11

fredericomarinho.com
Member
From: Juiz de Fora / Brazil
Registered: 2015-06-08
Posts: 40
Website

Re: An Error Was Encountered Internal error : No pages found.

Hello kradzcalypse! I was with the same problem and I think I solved it without changing the host server.

I was receiving this error in the log file:

ERROR - 2018-06-11 13:17:49 --> Error in the query : 
ERROR - 2018-06-11 13:17:49 --> SELECT DISTINCT content_type.view, content_type.view_single, url.path, url.path_ids, url.full_path_ids, group_concat(url2.path separator ';') as url_paths, group_concat(url2.lang separator ';') as url_langs, page.id_page as id, page_lang.*, page.*
FROM (page)
LEFT JOIN `content_type` as content_type ON `page`.`id_content_type` = `content_type`.`id_content_type`
LEFT JOIN `url` as url ON `page`.`id_page` = `url`.`id_entity` AND (url.type = 'page' AND url.active = 1 AND url.lang = 'pt-br')
LEFT JOIN `url` as url2 ON `page`.`id_page` = `url2`.`id_entity` AND (url2.type = 'page' AND url2.active = 1 )
LEFT JOIN page_lang ON page_lang.id_page = page.id_page AND page_lang.lang = 'pt-br'
WHERE `page`.`online` = '1'
AND ((publish_off > now()
OR publish_off = 0)
AND (publish_on < now()
OR publish_on = 0))
GROUP BY `page`.`id_page`
ORDER BY `page`.`level` ASC, `page`.`ordering` ASC

So, I search for this query in the models files. I found in the page_model.php file:

The "group by" expression start at the 149th line:

$this->{$this->db_group}->group_by($this->table.'.id_page');

Below this line, I put this:

$this->{$this->db_group}->group_by('url.path');
$this->{$this->db_group}->group_by('url.path_ids');
$this->{$this->db_group}->group_by('url.full_path_ids');

And it worked! Hope can help someone.


Frederico Marinho - Social Media and Web Developer
contato@fredericomarinho.com
fredericomarinho.com

Offline

What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel, Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.

Resources

Website : ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Ionize Translations