Jump to content

Recommended Posts

Posted
This post may help.

Thanks, I've added the following to my script but I still get an error:

<?php

ini_set('include_path', "/usr/local/bin/pear". ini_get("include_path"));

require_once ('File/SearchReplace.php');

...

 

?>

 

Error:

Warning: main(File/SearchReplace.php) [function.main]: failed to open stream: No such file or directory in /home/mysite/public_html/test.php on line 6

 

Fatal error: main() [function.require]: Failed opening required 'File/SearchReplace.php' (include_path='/usr/local/bin/pear.:/usr/lib/php:/usr/local/lib/php') in /home/mysite/public_html/test.php on line 6

 

Thanks

Mike

Posted

The function you are trying to call may not be on the server. Please open a ticket with the help desk and have the techs take a look. Link at top of page or in my sig.

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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