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
https://forums.phpfreaks.com/topic/277089-error-on-line-22/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.