ispCP - Board - Support
[SOLVED] Error after clean Install - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Tickets / Roadmap / Timeline (/forum-50.html)
+--- Thread: [SOLVED] Error after clean Install (/thread-10751.html)



[SOLVED] Error after clean Install - greenie - 05-23-2010 08:01 PM

Hello there. After a clean install of ispcp omega 1.0.5 on a virtual Centos machine I tried to open the defalut page but I saw a blank page. http://guest-00715.limehost.ro/
After a consult of /var/log/httpd/users/default-error.log i saw the next error.
I am not a great linux specialist. perhaps someone of you have any ideea about that. i read many posts on that forum but nothing helped.

[Sun May 23 09:25:10 2010] [error] [client 188.25.170.93] PHP Warning: require_once(/var/www/ispcp/gui/include/ispcp-db-keys.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: Permission denied in /var/www/ispcp/gui/include/ispcp-lib.php on line 67
[Sun May 23 09:25:10 2010] [error] [client 188.25.170.93] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/var/www/ispcp/gui/include/ispcp-db-keys.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/ispcp/gui/include/ispcp-lib.php on line 67

I tried to apply solutions from
http://isp-control.net/forum/thread-10077-post-78186.html#pid78186
but I receive next errors

[Sun May 23 09:24:30 2010] [error] [client 188.25.170.93] PHP Warning: PDO::prepare() [<a href='function.PDO-prepare'>function.PDO-prepare</a>]: SQLSTATE[00000]: No error: PDO constructor was not called in /var/www/ispcp/gui/include/class.Database.php on line 115
[Sun May 23 09:24:30 2010] [error] [client 188.25.170.93] PHP Warning: PDO::query() [<a href='function.PDO-query'>function.PDO-query</a>]: SQLSTATE[00000]: No error: PDO constructor was not called in /var/www/ispcp/gui/include/class.Database.php on line 100
[Sun May 23 09:24:30 2010] [error] [client 188.25.170.93] PHP Warning: PDO::setAttribute() [<a href='function.PDO-setAttribute'>function.PDO-setAttribute</a>]: SQLSTATE[00000]: No error: PDO constructor was not called in /var/www/ispcp/gui/include/class.Database.php on line 112
[Sun May 23 09:24:30 2010] [error] [client 188.25.170.93] PHP Warning: PDO::prepare() [<a href='function.PDO-prepare'>function.PDO-prepare</a>]: SQLSTATE[00000]: No error: PDO constructor was not called in /var/www/ispcp/gui/include/class.Database.php on line 115
[Sun May 23 09:24:30 2010] [error] [client 188.25.170.93] PHP Warning: PDO::query() [<a href='function.PDO-query'>function.PDO-query</a>]: SQLSTATE[00000]: No error: PDO constructor was not called in /var/www/ispcp/gui/include/class.Database.php on line 100
[Sun May 23 09:24:31 2010] [notice] child pid 4917 exit signal Segmentation fault (11)
Can anybody give me a clue?
Thanks.


RE: Error after clean Install - RatS - 05-24-2010 12:00 AM

please try to re-run ./ispcp/engine/setup/set-gui-permissions - there is something wrong with your permissions.


RE: Error after clean Install - greenie - 05-25-2010 12:30 AM

(05-24-2010 12:00 AM)RatS Wrote:  please try to re-run ./ispcp/engine/setup/set-gui-permissions - there is something wrong with your permissions.

was not that... After several trying.. i decided to reinstall on a clean server... My mistake was in php... I didn't corect the php and I used 5.1.3 version.
After upgrade with corect repository I found the page ... but.. now I have new errors.
After i login in Admin panel I see many errors of php function
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /var/www/ispcp/gui/admin/index.php on line 129

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /var/www/ispcp/gui/admin/index.php on line 129

Warning: mktime() [function.mktime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /var/www/ispcp/gui/admin/index.php on line 129

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /var/www/ispcp/gui/admin/index.php on line 131

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /var/www/ispcp/gui/admin/index.php on line 131

Warning: mktime() [function.mktime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /var/www/ispcp/gui/admin/index.php on line 131

My php version installed by repository automated is php-5.3.2-1.el5.remi.x86_64
on a Centos 5.3 virtual machine
Anybody have a clue?
Thanks...


RE: Error after clean Install - kroko - 05-26-2010 08:33 AM

i have the same issue


RE: Error after clean Install - kroko - 05-26-2010 05:59 PM

solved with this:
http://isp-control.net/forum/thread-10167-post-78330.html

good luck


RE: [SOLVED] Error after clean Install - junk - 10-06-2010 04:34 PM

CentOS 5.5 i386 ispcp 1.0.6 Fresh install

Error in /var/www/ispcp/gui/admin/index.php on line 129 etc...

From above link:
nano /var/www/fcgi/master/php5/php.ini

Find:
;date.timezone =

Uncomment to look like this:
date.timezone = "America/New_York"

Restart Apache:
service httpd restart


RE: [SOLVED] Error after clean Install - Nuxwin - 10-06-2010 04:56 PM

Thank for your report. Already fixed in 1.0.7 rc1.