Jump to content

Error on line 22


Destero

Recommended Posts

Hello,

 

First of all im not a web designer and have very little knowledge of this subject other then what i can find out on google. All the google search's show that this error has occurred when people add a template to there website. My website was developed for me and isent associated with a template.

 

I have switch web hosting company's and i have moved my website over to the new host. After i have uploaded the site i am getting this error:

 

Warning: include_once(/usr/local/apache/htdocs/functions/functions.php) [function.include-once]: failed to open stream: No such file or directory in /home/ausplayg/public_html/includes/all.php on line 22

Warning: include_once() [function.include]: Failed opening '/usr/local/apache/htdocs/functions/functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ausplayg/public_html/includes/all.php on line 22

Fatal error: Call to undefined function connect() in /home/ausplayg/public_html/includes/all.php on line 22

 

 

I have found line 22 in the all.php and it has:

 

include_once($_SERVER['DOCUMENT_ROOT']."/functions/functions.php"); connect();

 

 

 

Our of curieosity i have removed the / from the front of the functions page and it dident make a difference.

 

If you have a idea how to fix it please reply or you can add me on skype - destero_au 

 

Any help will be hugely appreciated.

 

 

 

 

 

 

Link to comment
Share on other sites

Thanks for the replys.

 

I copy pasted all the files from my old hoster to the new one. I have in filezilla copied the path and it appears as

 

/public_html/functions/functions.php

 

 

9ftv79.jpg

Edited by Destero
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.