User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 426,022 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,660 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser: Programming Forums
Views: 2859 | Replies: 2
Reply
Join Date: Jan 2005
Posts: 15
Reputation: junvalasek is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
junvalasek's Avatar
junvalasek junvalasek is offline Offline
Newbie Poster

Please school me in PHP script installation.

  #1  
Feb 5th, 2005
I want to install my own php script into my server (shared) but the moment I test my page, the following errors occurs.

Warning: main(): Unable to access ../includes/global.php in /home/linkme2u/public_html/paidmail/site/index.php on line 3

Warning: main(../includes/global.php): failed to open stream: Permission denied in /home/linkme2u/public_html/paidmail/site/index.php on line 3

Warning: main(): Unable to access ../includes/global.php in /home/linkme2u/public_html/paidmail/site/index.php on line 3

Warning: main(../includes/global.php): failed to open stream: Permission denied in /home/linkme2u/public_html/paidmail/site/index.php on line 3

Warning: main(): Failed opening '../includes/global.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/linkme2u/public_html/paidmail/site/index.php on line 3

Fatal error: Unknown function: dbconnect() in /home/linkme2u/public_html/paidmail/site/index.php on line 9


Please sombody give me step by step procedure on how to install php script with MySQL database.. I don't want to pay just for installation anymore.

Thanks,
Jun
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2003
Location: Toronto, Canada
Posts: 354
Reputation: Gary King will become famous soon enough Gary King will become famous soon enough 
Rep Power: 6
Solved Threads: 5
Colleague
Gary King's Avatar
Gary King Gary King is offline Offline
PHP/vBulletin Guru

Re: Please school me in PHP script installation.

  #2  
Mar 1st, 2005
You need to show us the relevant lines.
Reply With Quote  
Join Date: Feb 2005
Posts: 354
Reputation: DanceInstructor is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 12
DanceInstructor's Avatar
DanceInstructor DanceInstructor is offline Offline
Posting Whiz

Re: Please school me in PHP script installation.

  #3  
Mar 1st, 2005
Hmm looks like your permissions are wrong. You will need to use chmod to give the webserver access to the files in your script. Chmod 755 will probably be good, if that doesn't work go 777. If you use a ftp program you could try right-clicking on the file on the server and choose properties, this should give you access to change the files permissions. For more info google: chmod tutorial. There are lots of tutorials.

Dance
Clear Mind Hosting and Web Design

If I've helped you please consider adding to my reputation.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb MySQL Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the MySQL Forum

All times are GMT -4. The time now is 1:40 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC