Internal Server Error (urgent)
Moderator: General Moderators
Internal Server Error (urgent)
Hi
I copied a site from host to local host but any file i am calling I receive this error:
can you help me why this happens?
thanks
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/1.3.33 Server at 127.0.0.1 Port 80
I copied a site from host to local host but any file i am calling I receive this error:
can you help me why this happens?
thanks
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/1.3.33 Server at 127.0.0.1 Port 80
i don't know where it is. i can just fine 1 fle typpe file named "error_log" and its information is out of date:
[31-Mar-2007 08:35:39] PHP Warning: main(/includes/functions/database.php): failed to open stream: No such file or directory in /home/hotique/public_html/includes/app_top.php on line 21
[31-Mar-2007 08:35:39] PHP Fatal error: main(): Failed opening required '/includes/functions/database.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hotique/public_html/includes/app_top.php on line 21
[10-May-2007 04:00:46] PHP Parse error: syntax error, unexpected ')' in /home/hotique/public_html/test.php on line 2
[14-May-2007 06:53:04] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/hotique/public_html/application/components/NDatabase/NDatabase.php:1495) in /home/hotique/public_html/application/components/NSession/NSession.php on line 34
[14-May-2007 06:53:04] PHP Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/hotique/public_html/application/components/NDatabase/NDatabase.php:1495) in /home/hotique/public_html/application/components/NSession/NSession.php on line 40
[14-May-2007 06:53:04] PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/hotique/public_html/application/components/NDatabase/NDatabase.php:1495) in /home/hotique/public_html/application/components/NSession/NSession.php on line 40
[14-May-2007 06:53:04] PHP Fatal error: mysql error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '? AND apartments_status_id!=4 ORDER BY apartments_id ASC LIMIT 0,1' at line 1] in EXECUTE("SELECT apartments_id FROM apartments WHERE partners_id=? AND apartments_status_id!=4 ORDER BY apartments_id ASC LIMIT 0,1")
in /home/hotique/public_html/application/components/NADOdb/NADOdb.php on line 726

[31-Mar-2007 08:35:39] PHP Warning: main(/includes/functions/database.php): failed to open stream: No such file or directory in /home/hotique/public_html/includes/app_top.php on line 21
[31-Mar-2007 08:35:39] PHP Fatal error: main(): Failed opening required '/includes/functions/database.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hotique/public_html/includes/app_top.php on line 21
[10-May-2007 04:00:46] PHP Parse error: syntax error, unexpected ')' in /home/hotique/public_html/test.php on line 2
[14-May-2007 06:53:04] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/hotique/public_html/application/components/NDatabase/NDatabase.php:1495) in /home/hotique/public_html/application/components/NSession/NSession.php on line 34
[14-May-2007 06:53:04] PHP Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/hotique/public_html/application/components/NDatabase/NDatabase.php:1495) in /home/hotique/public_html/application/components/NSession/NSession.php on line 40
[14-May-2007 06:53:04] PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/hotique/public_html/application/components/NDatabase/NDatabase.php:1495) in /home/hotique/public_html/application/components/NSession/NSession.php on line 40
[14-May-2007 06:53:04] PHP Fatal error: mysql error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '? AND apartments_status_id!=4 ORDER BY apartments_id ASC LIMIT 0,1' at line 1] in EXECUTE("SELECT apartments_id FROM apartments WHERE partners_id=? AND apartments_status_id!=4 ORDER BY apartments_id ASC LIMIT 0,1")
in /home/hotique/public_html/application/components/NADOdb/NADOdb.php on line 726
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
Hehe, I thought he said from localhost to a host. It's more likely for you to receive server errors since a lot of hosts haven't yet upgraded to Apache 2, but it's easy for you to do so locally.miro_igov wrote:superdezign, are you not too tired? i see your very "adequate" posts
I copied a site from host to local host but any file i am calling I receive this error:If you are hosted under a host that provides cPanel, it should have a link to your error log as specified in your config.