URGENT HELP PLEASE

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
amitlu
Forum Newbie
Posts: 5
Joined: Mon Jun 05, 2006 11:50 am

URGENT HELP PLEASE

Post by amitlu »

hi, i have a problem i dont know so much about php but someone tell me here u can help me im installing a ladder script but it dont work this is what it appears

Warning: main(): open_basedir restriction in effect. File(/functions/global.php) is not within the allowed path(s): (/home/httpd/vhosts/trancegamecenter.com/httpdocs:/usr/share/pear:/tmp) in /home/httpd/vhosts/trancegamecenter.com/httpdocs/Ladder/adminhome.php on line 21

Warning: main(/functions/global.php): failed to open stream: Operation not permitted in /home/httpd/vhosts/trancegamecenter.com/httpdocs/Ladder/adminhome.php on line 21

Warning: main(): Failed opening '/functions/global.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/vhosts/trancegamecenter.com/httpdocs/Ladder/adminhome.php on line 21

Warning: main(): open_basedir restriction in effect. File(/functions/loginforms.php) is not within the allowed path(s): (/home/httpd/vhosts/trancegamecenter.com/httpdocs:/usr/share/pear:/tmp) in /home/httpd/vhosts/trancegamecenter.com/httpdocs/Ladder/adminhome.php on line 25

Warning: main(/functions/loginforms.php): failed to open stream: Operation not permitted in /home/httpd/vhosts/trancegamecenter.com/httpdocs/Ladder/adminhome.php on line 25

Warning: main(): Failed opening '/functions/loginforms.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/vhosts/trancegamecenter.com/httpdocs/Ladder/adminhome.php on line 25

can u help me what i do? i dont know what to do, thanks.

Fatal error: Call to undefined function: force_adminlogin() in /home/httpd/vhosts/trancegamecenter.com/httpdocs/Ladder/adminhome.php on line 27
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:2. Use descriptive subjects when you start a new thread. Vague titles such as "Help!", "Why?" are misleading and keep you from receiving an answer to your question.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

It looks like you don't have the appropriate permissions to execute filesystem calls. Are you on a Windows hosting account?
amitlu
Forum Newbie
Posts: 5
Joined: Mon Jun 05, 2006 11:50 am

Post by amitlu »

nop im in a Linux server.
amitlu
Forum Newbie
Posts: 5
Joined: Mon Jun 05, 2006 11:50 am

Post by amitlu »

what i need to do? :(
User avatar
bokehman
Forum Regular
Posts: 509
Joined: Wed May 11, 2005 2:33 am
Location: Alicante (Spain)

Post by bokehman »

amitlu wrote:what i need to do? :(
Get in touch with the person that administers the server.
amitlu
Forum Newbie
Posts: 5
Joined: Mon Jun 05, 2006 11:50 am

Post by amitlu »

i already tell the company and they told me that they will activate the error warnings now i can see this


Warning: main(): open_basedir restriction in effect. File(/functions/global.php) is not within the allowed path(s): (/home/httpd/vhosts/trancegamecenter.com/httpdocs:/usr/share/pear:/tmp) in /home/httpd/vhosts/trancegamecenter.com/httpdocs/Ladder/adminhome.php on line 21

Warning: main(/functions/global.php): failed to open stream: Operation not permitted in /home/httpd/vhosts/trancegamecenter.com/httpdocs/Ladder/adminhome.php on line 21

Warning: main(): Failed opening '/functions/global.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/vhosts/trancegamecenter.com/httpdocs/Ladder/adminhome.php on line 21

Warning: main(): open_basedir restriction in effect. File(/functions/loginforms.php) is not within the allowed path(s): (/home/httpd/vhosts/trancegamecenter.com/httpdocs:/usr/share/pear:/tmp) in /home/httpd/vhosts/trancegamecenter.com/httpdocs/Ladder/adminhome.php on line 25

Warning: main(/functions/loginforms.php): failed to open stream: Operation not permitted in /home/httpd/vhosts/trancegamecenter.com/httpdocs/Ladder/adminhome.php on line 25

Warning: main(): Failed opening '/functions/loginforms.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/vhosts/trancegamecenter.com/httpdocs/Ladder/adminhome.php on line 25

because before i cant, and they told me that they cant give me support with another aplications, but he tell me that the coding is wrong i think is not that because is a buyed program and is so popular, its my gaming ladder.

Fatal error: Call to undefined function: force_adminlogin() in /home/httpd/vhosts/trancegamecenter.com/httpdocs/Ladder/adminhome.php on line 27
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Your problem is that your host or administrator is restricting your ability to use a full PHP implementation. They need to change the PHP setup on your server so you can use those features.
amitlu
Forum Newbie
Posts: 5
Joined: Mon Jun 05, 2006 11:50 am

Post by amitlu »

i tell my administrator what u say and he says that the errors are in the coding not in the hosting service, aww what i do :(
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

amitlu wrote:i tell my administrator what u say and he says that the errors are in the coding not in the hosting service, aww what i do :(
Read about "open_basedir" restriction in the PHP manual and find a workaround ... or change hosts.

Also, please use descriptive titles for your question. The title URGENT HELP PLEASE is considered a joke by many and they will avoid answering your question. Unless, of course, you are acutally going to die if your question is not answered quickly.
(#10850)
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Post Reply