Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
LinkBack Thread Tools
Old 01-17-2008, 12:52 PM   #1 (permalink)
Registered User
 
Join Date: Oct 2007
Posts: 84
OS: win xp sp2


Problem with a php script

I am a novice to scripts, servers etc but i am having a problem and it is driving me insane.

i have a script that i was installing onto my domain and i have instructions with the script. I created a database and a username with all permissions on my domain and then went about installing the script. when i tried to do that i got this message...


Warning: require_once(/home/flowrab5/public_html/include/price_functions.php) [function.require-once]: failed to open stream: No such file or directory in /home/flowrab5/public_html/config.php on line 131

Fatal error: require_once() [function.require]: Failed opening required '/home/flowrab5/public_html/include/price_functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/flowrab5/public_html/config.php on line 131


i don't know what any of that means, or how to fix it. the script that i used does not have any way of contacting the creator to ask for help. Im not sure if my question is in the correct forum, but i am begging for help or advice!

please, please, please, can anyone help me. i can give you any information that is required.

thanks
jayzinho is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 01-17-2008, 12:55 PM   #2 (permalink)
Moderator, TSF Articles
 
carsey's Avatar
 
Join Date: Aug 2006
Location: Hunwick, Co. Durham England
Posts: 10,678
OS: XP Pro SP3

My System

Send a message via MSN to carsey
Re: Problem with a php script

What is the code on line 131 of the config.php file??
__________________

carsey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-17-2008, 01:01 PM   #3 (permalink)
Registered User
 
Join Date: Oct 2007
Posts: 84
OS: win xp sp2


Re: Problem with a php script

require_once dirname(__FILE__).'/include/price_functions.php';
jayzinho is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-17-2008, 01:07 PM   #4 (permalink)
Moderator, TSF Articles
 
carsey's Avatar
 
Join Date: Aug 2006
Location: Hunwick, Co. Durham England
Posts: 10,678
OS: XP Pro SP3

My System

Send a message via MSN to carsey
Re: Problem with a php script

require_once dirname(__FILE__)'./include/price_functions.php';

Try the above in replacement.


You had put the . outside of the ' ' tags.
__________________

carsey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-17-2008, 01:10 PM   #5 (permalink)
Registered User
 
Join Date: Oct 2007
Posts: 84
OS: win xp sp2


Re: Problem with a php script

should i really do that? i got this script from a company.. i didnt do any coding myself at all. this was already set...

should i do it anyway?
jayzinho is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-17-2008, 01:12 PM   #6 (permalink)
Registered User
 
Join Date: Oct 2007
Posts: 84
OS: win xp sp2


Re: Problem with a php script

#########################################################################
# CONFIGURATION
# Note: Please do not edit this file. Edit the config from the admin section.
#########################################################################


it says that at the top... ??
jayzinho is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-17-2008, 01:13 PM   #7 (permalink)
Moderator, TSF Articles
 
carsey's Avatar
 
Join Date: Aug 2006
Location: Hunwick, Co. Durham England
Posts: 10,678
OS: XP Pro SP3

My System

Send a message via MSN to carsey
Re: Problem with a php script

Well, make a backup of it and then try the code I suggested and see what happens.
__________________

carsey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-17-2008, 01:14 PM   #8 (permalink)
Registered User
 
Join Date: Oct 2007
Posts: 84
OS: win xp sp2


Re: Problem with a php script

ok, will do.
jayzinho is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-17-2008, 01:18 PM   #9 (permalink)
Registered User
 
Join Date: Oct 2007
Posts: 84
OS: win xp sp2


Re: Problem with a php script

i got this message:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/flowrab5/public_html/config.php on line 131
jayzinho is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-17-2008, 01:21 PM   #10 (permalink)
Moderator, TSF Articles
 
carsey's Avatar
 
Join Date: Aug 2006
Location: Hunwick, Co. Durham England
Posts: 10,678
OS: XP Pro SP3

My System

Send a message via MSN to carsey
Re: Problem with a php script

Is this a free script you got or did you have to pay?

Can you show me the site where you got it from please?
__________________

carsey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-17-2008, 01:23 PM   #11 (permalink)
Registered User
 
Join Date: Oct 2007
Posts: 84
OS: win xp sp2


Re: Problem with a php script

sure,

http://www.milliondollarscript.com/
jayzinho is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-17-2008, 01:24 PM   #12 (permalink)
Registered User
 
Join Date: Oct 2007
Posts: 84
OS: win xp sp2


Re: Problem with a php script

sorry, yeh i paid for it.
jayzinho is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-17-2008, 01:29 PM   #13 (permalink)
Moderator, TSF Articles
 
carsey's Avatar
 
Join Date: Aug 2006
Location: Hunwick, Co. Durham England
Posts: 10,678
OS: XP Pro SP3

My System

Send a message via MSN to carsey
Re: Problem with a php script

Have you the updated version of their script as Ive jsut downloaded their free version and on my line 131 in config.php is:

require_once (dirname(__FILE__).'/mail/smtp_message.php');
__________________

carsey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-17-2008, 01:59 PM   #14 (permalink)
Registered User
 
Join Date: Oct 2007
Posts: 84
OS: win xp sp2


Re: Problem with a php script

oh man i just got it to work. i feel so dumb.

i looked at FileZilla, which is what i used to upload all the files, and there at the bottom was one file called 'price_functions.php' which for some reason hadnt uploaded. I clicked on 'process queue' and then tried it again and it worked.

sorry for the hassle. i was seeing problems and the problem was me!

sorry again dude, you were nothing but helpful.
jayzinho is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-17-2008, 02:05 PM   #15 (permalink)
Moderator, TSF Articles
 
carsey's Avatar
 
Join Date: Aug 2006
Location: Hunwick, Co. Durham England
Posts: 10,678
OS: XP Pro SP3

My System

Send a message via MSN to carsey
Re: Problem with a php script

Great news. Glad you got it fixed.

And dont worry about the help, its nothing.

Chris
__________________

carsey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-17-2008, 02:15 PM   #16 (permalink)
Registered User
 
Join Date: Oct 2007
Posts: 84
OS: win xp sp2


Re: Problem with a php script

thanks man!

sorry again for wasting your time!

Jay
jayzinho is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 01-17-2008, 02:28 PM   #17 (permalink)
Moderator, TSF Articles
 
carsey's Avatar
 
Join Date: Aug 2006
Location: Hunwick, Co. Durham England
Posts: 10,678
OS: XP Pro SP3

My System

Send a message via MSN to carsey
Re: Problem with a php script

Honestly you were not wasting my time

have fun with the script
__________________

carsey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 09:33 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85