Hi guys!
My server always run with 4.4.4 PHP version and now I´ve put the 5.2.1 PHP version.
After finish the upgrade, I cannot enter in my site, because appears an white screen with this errors:
Quote:
Warning: session_start() [function.session-start]: SAFE MODE Restriction in effect. The script whose uid is 32005 is not allowed to access owned by uid 0 in /home/tuga/public_html/index.php on line 18
Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: files (path: ) in /home/tuga/public_html/index.php on line 18
I have disable the Safe Mode to enter in my site. But I´ve got another error in Downloads module:
Quote:
Warning: mktime() expects parameter 1 to be long, string given in /home/tuga/public_html/modules/Downloads/index.php on line 801
[Recomendar Legenda] Recomendar
Warning: mktime() expects parameter 1 to be long, string given in /home/tuga/public_html/modules/Downloads/ns_view_download_file.php on line 287
Line 18 of the index.php:
Code:
session_start();
Line 801 of the modules/Downloads/index.php:
Code:
mktime ("LC_TIME", "$locale");
Line 287 of the modules/Downloads/ns_view_download_file.php:
Code:
mktime ("LC_TIME", "$locale");
Can someone help me?
hue Support Mod
Joined: Apr 18, 2003
Posts: 368
Location: Ohio
Posted:
Wed May 16, 2007 9:36 am
Try changing this
Code:
mktime ("LC_TIME", "$locale");
to this
Code:
mktime (LC_TIME, $locale);
As always, make a backup
_________________ Go Go Buckeyes!!
murdo Nuke Cadet
Joined: Jun 03, 2007
Posts: 2
Posted:
Mon Jun 04, 2007 11:18 am
help!
I get the same error in my Downloads Module!!
Code:
Warning: mktime() expects parameter 1 to be long, string given in /home/gamersfi/public_html/modules/Downloads/index.php on line 2142
And here is the code from my module around that area:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum