Results 1 to 2 of 2
Open Source script based on Yii framework Forum: PHP ForumReplies: 0
unable to run perl script on Linux / XP browser, instead asking me to save or open it Forum: CGI Perl ForumReplies: 3
Script stores data in wrong MySQL columns Forum: PHP ForumReplies: 2
mysql connection sometime failed Forum: DatabasesReplies: 16
Video stream with ASP.NET Forum: ASP ForumReplies: 2
10-05-2006, 06:23 PM #1
Failed to open stream errors (using php script with MySQL)
I'm really at a loss. In fact, I'd have no problem sending $10-$30 to someone via PayPal if they can get this working for me. It should be simple... for those who know servers, MySQL and the likes... but that's not me.
I keep getting these errors:
Warning: main(../../_scripts/PromoCodeScript/includes/config.php): failed to open stream: No such file or directory
I'm trying to install a new script. I am hosted with GoDaddy on a Linux OS. An install.php script is to install the whole thing and then I should be able to access an admin area to use it.
But that's just not working.
The install.php does go through the installation, creates the config file and tells me the Installation went okay. As soon as I head over to the admin area, I get messages like the one above or more specifically like this:
Warning: main(../../_scripts/PromoCodeScript/includes/config.php): failed to open stream: No such file or directory in /home/content/r/o/b/robtoth27/html/DearEmployee/admin/index.php on line 4
But the errors reference lines 4, 5, 6 and 28.
Line 4 of the .php file (when I open it in Dreamweaver) is:
Line 5 is...
Line 6 is...
Line 28 is...
Is the above information of any use? Does anyone have even a suspesion of what the error could be?
I'll mention that the script (a promo/discount script) is sold online and has several hundred customers who are well setup. So the script seems to work. But let's just say their tech support is lacking at best (which I'll address with them later but right now I need this script live and can't keep waiting).
Any advice is welcomed. Rob Toth
10-07-2006, 09:42 PM #2
Re: Failed to open stream errors (using php script with MySQL)
Before you pay someone to do this for you, you might just go over your documentation one more time and make sure you've followed the instructions to the letter. It sounds to me like you didn't preserve the directory structure that they want you to have, or you didn't upload everything to the server that you should have. Another common problem is not editing the appropriate file(s) and changing default usernames and passwords to whatever you setup for a database.
After doing all that, if you still need some help, PM me and I'll see what I can do for you.Music Around The World - Collecting tips, trade
and want lists, album reviews, & more