Please Help, Urgently...

Jesse

Active Member
Messages
1,360
Reaction score
0
Points
36
Hello Guys,

I need help with my site, i think i have an problem with my php.ini or something....

please check www.imusicz.info try to register and login, it does not work. it's like the session function is not working.

i tried looking on the error log and here is what i got:

Code:
in /home2/imusicz/public_html/includes/language.php on line 21, referer: [URL]http://imusicz.info/[/URL]
[Mon Aug 04 04:23:37 2008] [error] [client 210.213.99.106] PHP Notice:  Use of undefined constant Logout - assumed 'Logout' in /home2/imusicz/public_html/includes/language.php on line 20, referer: [URL]http://imusicz.info/[/URL]
[Mon Aug 04 04:23:37 2008] [error] [client 210.213.99.106] PHP Notice:  Use of undefined constant MyPlaylist - assumed 'MyPlaylist' in /home2/imusicz/public_html/includes/language.php on line 19, referer: [URL]http://imusicz.info/[/URL]
[Mon Aug 04 04:23:37 2008] [error] [client 210.213.99.106] PHP Notice:  Use of undefined constant FAQ - assumed 'FAQ' in /home2/imusicz/public_html/includes/language.php on line 18, referer: [URL]http://imusicz.info/[/URL]
[Mon Aug 04 04:23:37 2008] [error] [client 210.213.99.106] PHP Notice:  Use of undefined constant AdminPanel - assumed 'AdminPanel' in /home2/imusicz/public_html/includes/language.php on line 17, referer: [URL]http://imusicz.info/[/URL]
[Mon Aug 04 04:23:37 2008] [error] [client 210.213.99.106] PHP Notice:  Use of undefined constant AccountHome - assumed 'AccountHome' in /home2/imusicz/public_html/includes/language.php on line 16, referer: [URL]http://imusicz.info/[/URL]
[Mon Aug 04 04:23:37 2008] [error] [client 210.213.99.106] PHP Notice:  Use of undefined constant Welcome - assumed 'Welcome' in /home2/imusicz/public_html/includes/language.php on line 15, referer: [URL]http://imusicz.info/[/URL]
[Mon Aug 04 04:23:37 2008] [error] [client 210.213.99.106] PHP Notice:  Use of undefined constant Error - assumed 'Error' in /home2/imusicz/public_html/includes/language.php on line 14, referer: [URL]http://imusicz.info/[/URL]
[Mon Aug 04 04:23:37 2008] [error] [client 210.213.99.106] PHP Notice:  Use of undefined constant OverallDownloads - assumed 'OverallDownloads' in /home2/imusicz/public_html/includes/language.php on line 13, referer: [URL]http://imusicz.info/[/URL]
[Mon Aug 04 04:23:37 2008] [error] [client 210.213.99.106] PHP Notice:  Use of undefined constant NoResultsMSG - assumed 'NoResultsMSG' in /home2/imusicz/public_html/includes/language.php on line 12, referer: [URL]http://imusicz.info/[/URL]
[Mon Aug 04 04:23:37 2008] [error] [client 210.213.99.106] PHP Notice:  Use of undefined constant NoResults - assumed 'NoResults' in /home2/imusicz/public_html/includes/language.php on line 11, referer: [URL]http://imusicz.info/[/URL]
[Mon Aug 04 04:23:37 2008] [error] [client 210.213.99.106] PHP Notice:  Use of undefined constant FilesFound - assumed 'FilesFound' in /home2/imusicz/public_html/includes/language.php on line 10, referer: [URL]http://imusicz.info/[/URL]
[Mon Aug 04 04:23:37 2008] [error] [client 210.213.99.106] PHP Notice:  Use of undefined constant Prev - assumed 'Prev' in /home2/imusicz/public_html/includes/language.php on line 9, referer: [URL]http://imusicz.info/[/URL]
[Mon Aug 04 04:23:37 2008] [error] [client 210.213.99.106] PHP Notice:  Use of undefined constant Next - assumed 'Next' in /home2/imusicz/public_html/includes/language.php on line 8, referer: [URL]http://imusicz.info/[/URL]
[Mon Aug 04 04:23:37 2008] [error] [client 210.213.99.106] PHP Notice:  Use of undefined constant Page - assumed 'Page' in /home2/imusicz/public_html/includes/language.php on line 7, referer: [URL]http://imusicz.info/[/URL]
[Mon Aug 04 04:23:37 2008] [error] [client 210.213.99.106] PHP Notice:  Use of undefined constant Listen - assumed 'Listen' in /home2/imusicz/public_html/includes/language.php on line 6, referer: [URL]http://imusicz.info/[/URL]
[Mon Aug 04 04:23:37 2008] [error] [client 210.213.99.106] PHP Notice:  Use of undefined constant Download - assumed 'Download' in /home2/imusicz/public_html/includes/language.php on line 5, referer: [URL]http://imusicz.info/[/URL]
[Mon Aug 04 04:23:37 2008] [error] [client 210.213.99.106] PHP Notice:  Use of undefined constant Search - assumed 'Search' in /home2/imusicz/public_html/includes/language.php on line 4, referer: [URL]http://imusicz.info/[/URL]
[Mon Aug 04 04:23:37 2008] [error] [client 210.213.99.106] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_nn0f24guqobqo68d38qn1shl33, O_RDWR) failed: Permission denied (13) in /home2/imusicz/public_html/includes/session.php on line 36, referer: [URL]http://imusicz.info/[/URL]
[Mon Aug 04 04:23:37 2008] [error] [client 210.213.99.106] PHP Notice:  Undefined index:  type \

please help me
 

Salvatos

Member
Prime Account
Messages
562
Reaction score
1
Points
18
I think you should show your language.php code, especially from lines 1 to 30. I've never used constants, but it seems that something is missing in that file and others will be able to help you working from the code.
 

woiwky

New Member
Messages
390
Reaction score
0
Points
0
The Notices aren't causing the problem. They're just saying that a literal was encountered which looks like a constant but was probably meant as a string -- that is, an unquoted string.

The real problem is the warning on session_start(). A Permission Denied error is very peculiar. In this case, considering that this error always happens with session_start(), I would assume that the permissions on the session directory aren't right. But it's hard to tell. Are you on a VPS? If so, check the permissions on the session directory. Else, you should bring this up in Free Hosting.
 

Jesse

Active Member
Messages
1,360
Reaction score
0
Points
36
im on a reseller, the host has suhosin, so in that cause, i can create custom php.ini
 

woiwky

New Member
Messages
390
Reaction score
0
Points
0
Well then I'm going to assume that you don't have access to the /var/lib/php/session/ directory. Also, if you did make your own php.ini, did you specify the session.save_path directive? You can try setting that directive to something like:

session.save_path = "/home2/imusicz/tmp"

Just be sure that the directory you specify exists. Your home directory appears to be /home2/imusicz, so whatever path you use should begin with that. Do *not* use your web root or any subdirectory of your web root. Most likely these are /home2/imusicz/public_html and /home2/imusicz/www
 
Top