[PHP-DB] moved code to a new server

2008-10-24 Thread Marc Fromm
We moved our website to a new linux server. The code was running on a different 
linux server. Thus the OS environment is the same.
We are receiving this error:
[Fri Oct 24 14:53:37 2008] PHP Fatal error:  require() [a 
href='function.require'function.require/a]: Failed opening required 'this 
was a url to a .js file' (include_path='.:/usr/share/pear:/usr/share/php') in 
/var/www/html/path to .php file on line 4

I'm not a php programmer thus I am in the dark.

Marc



Re: [PHP-DB] moved code to a new server

2008-10-24 Thread Daniel P. Brown
Forwarded to General, since this doesn't belong on DB.

On Fri, Oct 24, 2008 at 6:18 PM, Marc Fromm [EMAIL PROTECTED] wrote:
 We moved our website to a new linux server. The code was running on a 
 different linux server. Thus the OS environment is the same.
 We are receiving this error:
 [Fri Oct 24 14:53:37 2008] PHP Fatal error:  require() [a 
 href='function.require'function.require/a]: Failed opening required 'this 
 was a url to a .js file' (include_path='.:/usr/share/pear:/usr/share/php') in 
 /var/www/html/path to .php file on line 4

 I'm not a php programmer thus I am in the dark.

You don't have to be, you just have to read the error message.  If
you copied that verbatim, then 'this was a url to a .js file' exists
on line 4 of .php in /var/www/html/path, and PHP failed to open it.

Make sure the file exists exactly where PHP is looking for it, and
that it's accessible and readable to and by the user as which the
server is running when executing `.php` in /var/www/html/path, and
that the target file can be found from that directory.

-- 
/Daniel P. Brown
http://www.parasane.net/ [New Look]
[EMAIL PROTECTED] || [EMAIL PROTECTED]

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php