CodeIgniter Forums
I have a problem with page in pyrocms - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: I have a problem with page in pyrocms (/showthread.php?tid=19260)



I have a problem with page in pyrocms - El Forum - 06-02-2009

[eluser]huutri[/eluser]
Hi all
I use pyrocms, it is very good. But i have a problem with page: i create new page when i click view link that show a error "AN ERROR WAS ENCOUNTERED". I can't resolve this problem. Anyone met this problem. Please help me.

Thank all


I have a problem with page in pyrocms - El Forum - 06-02-2009

[eluser]Phil Sturgeon[/eluser]
Oh dear!

What sort of error is it? A CodeIgniter error (error in a box with a red border) or a plain PHP error.

Is there anything more to the message?

Do any other pages work?

Have you run the install commands to get cache current permissioned?


I have a problem with page in pyrocms - El Forum - 06-02-2009

[eluser]huutri[/eluser]
This is my problem: I create new page in admin. It's name is contact page. I click View to preview it but i receive a error in font-end. I have a attach file. Please help me to resolve it


I have a problem with page in pyrocms - El Forum - 06-02-2009

[eluser]huutri[/eluser]
I have new information:
1. When i created new page in admin. In front-end, i type url "http://localhost/pyrocms/" i receive a error "AN ERROR WAS ENCOUNTERED".
2. I have't run the install commands to get cache current permissioned.


I have a problem with page in pyrocms - El Forum - 06-03-2009

[eluser]Phil Sturgeon[/eluser]
You haven't run the database code.

It is failing to find the setting to say wether the site is enabled or disabled, defaulting to FALSE and trying to find the error message which is also in the database.

I will hardcode an error message into the code if there is no setting showing.

Basically, all you need to do is run the database code provided in:

/database/1-tables.sql
/database/2-dummy_data.sql