Newbie help!

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
bestroligast
Forum Newbie
Posts: 2
Joined: Fri Mar 12, 2004 3:30 pm

Newbie help!

Post by bestroligast »

Hi..im trying to install a affiliate script but i got one problem..it says like this and i don't know what it means :

Code: Select all

Warning: fopen(): Unable to access /home/www.1b5.com/gold_membership/random.txt in /*****/*****/public_html/includes/global.php on line 65

Warning: fopen(/home/www.1b5.com/gold_membership/random.txt): failed to open stream: No such file or directory in /*****/******/public_html/includes/global.php on line 65
File Does'nt Exists
you can try go to the site but you have to register to see the problem...thanks for your help
TheBentinel.com
Forum Contributor
Posts: 282
Joined: Wed Mar 10, 2004 1:52 pm
Location: Columbus, Ohio

Re: Newbie help!

Post by TheBentinel.com »

bestroligast wrote: Warning: fopen(): Unable to access /home/www.1b5.com/gold_membership/random.txt in /*****/*****/public_html/includes/global.php on line 65
Either global.php is trying to access that file and you don't have one, or something else is passing that path into it. Either way, something is trying to access that file. So you need to figure out where that file is and change the path to match it. If your copy of random.txt is in /home/bestro/www/public, then change the path to /home/bestro/www/public/random.txt

Hope that helps!
bestroligast
Forum Newbie
Posts: 2
Joined: Fri Mar 12, 2004 3:30 pm

Post by bestroligast »

Thanks for your reply..i have the random.txt file but it's empty..and it's in /home/www.1b5.com/gold_membership/random.txt like it says in the error message..but shouldn't it be like this../home/public_html/gold_membership/random.txt ?i have no idea :(
Post Reply