Forums / Customization from the Admin / 404 Not Found Error

404 Not Found Error

Locked

Started by jacque427 on 21 May 2006, 3:31 PM · Views: 13,658

Results 1 to 20 of 23
This thread is locked. New replies are disabled.
21 May 2006, 3:31 PM
#1
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

404 Not Found Error

When logging into Admin I get the following error at the top of the page with a 404 page not found error. Yet the page loads just fine.

index.php?zenAdminID=6b94d89abf3750f8922b8c256e0e106f

I also get a similar error when doing work on the admin side. Again, the page loads ok, just the error at the top.

Any ideas?

Jacque

Just knowledgeable enough to be dangerous.

21 May 2006, 4:43 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: 404 Not Found Error

Very hard to tell what exactly would be causing that.
What mods/addons have you installed?
What version of Zen Cart?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

21 May 2006, 4:57 PM
#3
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

Re: 404 Not Found Error

DrByte:

Very hard to tell what exactly would be causing that.
What mods/addons have you installed?
What version of Zen Cart?

Sorry about that, ZC version 1.2.6 with a number of additional mods that were added last year.

This error appeared suddenly.

This is what I have from the Server Information portion of the admin side:

Server OS: Linux 2.6.16.16-grsec
Database: MySQL 4.1.19-standard
Server Up Time: 09:53:47 up 5 days, 11:14, 0 users, load average: 1.63, 1.88, 2.10
PHP Version: 4.4.2 (Zend: 1.3.0)
HTTP Server: Apache/1.3.34 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.2 FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7a

I think I'll create a support ticket with my host also. But really won't hold out much for help from them. They're pretty bad.

jacque

Just knowledgeable enough to be dangerous.

22 May 2006, 8:28 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: 404 Not Found Error

if you check View Source in your browser, what are the first 15 lines of the source code there?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 May 2006, 2:20 PM
#5
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

Re: 404 Not Found Error

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY>
<H1>Not Found</H1>
<P>The requested URL /admin/login.php? was not found on this server.</P>
<HR>
<address>Apache Server at www.freshabundance.com Port 80</address>
</BODY></HTML><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>FRESH Abundance!</title>
<link href="includes/stylesheet.css" rel="stylesheet" type="text/css" />

</head>
<body id="login" onload="document.getElementById('admin_name').focus()">
<form name="login" action="http://www.freshabundance.com/admin/login.php?" method = "POST"><input type="hidden" name="zenAdminID" value="xxxxxxx" />
  <fieldset><input type="hidden" name="zenAdminID" value="xxxxxx" />

I thing this may be 16 lines, but you get the idea...

Thanks for looking at this.

Just knowledgeable enough to be dangerous.

22 May 2006, 4:39 PM
#6
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: 404 Not Found Error

Psst, never post your zenID (and ' especially ' zenadminID) from your URLs. :cool:

22 May 2006, 5:13 PM
#7
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

Re: 404 Not Found Error

TheOracle:

Psst, never post your zenID (and ' especially ' zenadminID) from your URLs. :cool:

Oh! I didn't know that. Heck, don't even know what they are/do.

And now I can't edit my post.

Just knowledgeable enough to be dangerous.

22 May 2006, 5:19 PM
#8
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: 404 Not Found Error

Just knowledgeable enough to be dangerous.

Your own signature is so much related to your last question. It appear as if ... you sort of created your own little FAQ. :thumbsup:

24 May 2006, 6:54 PM
#9
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

Re: 404 Not Found Error

Here is an updated/better worded version of the question, it's gotten to be more than an annoyance now becaue it shows up on invoices.


When logging into Admin I get the following error at the top of the page with a 404 page not found error. Yet the page loads just fine.

Not Found

The requested URL /admin/index.php?zenAdminID=zenidhere
was not found on this server.

I also get a similar error when doing work within various pages on the admin side. Again, the page loads ok, just the error at the top.

In addition the crazy error shows up on invoices.

Help!

Jacque

Just knowledgeable enough to be dangerous.

24 May 2006, 6:58 PM
#10
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: 404 Not Found Error

Please post your URL pointing to your techsupp.php file. If you do not know where it is located, simply go to your zc_install folder and upload it on your root path of Zen Cart. Then, post the URL here. I will take a look at it. :wink2:

24 May 2006, 7:17 PM
#11
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

Re: 404 Not Found Error

Amazing tool!

Of course I don't understand but a bit of it.

http://freshabundance.com/zc_install/techsupp.php

Thanks for any assistance!

Just knowledgeable enough to be dangerous.

24 May 2006, 7:23 PM
#12
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: 404 Not Found Error

From your admin folder (local's end - not server), edit your .htaccess file

from:

Fix certain PHP values

#<IfModule mod_php4.c>

php_value session.use_trans_sid 0

php_value register_globals 1

#</IfModule>

to turn off register_globals

php_value register_globals 0

to read:

Fix certain PHP values

<IfModule mod_php4.c>
php_value session.use_trans_sid 0
php_value register_globals 1
</IfModule>

to turn off register_globals
php_value register_globals 0

Then, save your .htaccess. Once saved, upload that file under your admin folder on the server-side.

Last step - clear out all your cookies and temp files from your browser. Then, retry your admin session activities (preferably with mozilla firefox - not with IE).

24 May 2006, 7:42 PM
#13
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

Re: 404 Not Found Error

Oof! It doesn't like that at all.

I get...

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] 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.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.34 Server at https://www.freshabundance.com Port 80

Here is my .htaccess with your changes....

# $Id: .htaccess 290 2004-09-15 19:48:26Z wilt $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
# <Directory "/usr/local/apache/htdocs">
#   AllowOverride Options
# </Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)

# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers

<IfModule mod_setenvif.c>
  <IfDefine SSL>
    SetEnvIf User-Agent ".*MSIE.*" \
             nokeepalive ssl-unclean-shutdown \
             downgrade-1.0 force-response-1.0
  </IfDefine>
</IfModule>

Fix certain PHP values

<IfModule mod_php4.c>
php_value session.use_trans_sid 0
php_value register_globals 1
</IfModule>

to turn off register_globals
php_value register_globals 0

jacque

Just knowledgeable enough to be dangerous.

24 May 2006, 7:57 PM
#14
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: 404 Not Found Error

Sorry. It should be:

#Fix certain PHP values

<IfModule mod_php4.c>
php_value session.use_trans_sid 0
#php_value register_globals 1
</IfModule>

#to turn off register_globals
php_value register_globals 0

should work now. :thumbsup:

24 May 2006, 8:01 PM
#15
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

Re: 404 Not Found Error

Getting closer, at least it doesn't list the url anymore.

Now I have...

Not Found

The requested URL was not found on this server.
Apache Server at Port 80

Just knowledgeable enough to be dangerous.

24 May 2006, 8:08 PM
#16
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

Re: 404 Not Found Error

The url for the support page has been changed to
http://www.freshabundance.com/zc_support/

Just knowledgeable enough to be dangerous.

24 May 2006, 8:09 PM
#17
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: 404 Not Found Error

And what does your web error logs states from your cPanel access now ?

24 May 2006, 8:16 PM
#18
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

Re: 404 Not Found Error

This is all that I see...

[Wed May 24 15:10:11 2006] [error] [client 70.81.248.241] File does not exist: /home/fresh/public_html/zc_support/admin
[Wed May 24 14:40:31 2006] [error] [client 67.185.18.110] File does not exist: /home/fresh/public_html/500.shtml
[Wed May 24 14:40:31 2006] [alert] [client 67.185.18.110] /home/fresh/public_html/admin/.htaccess: Invalid command 'Fix', perhaps mis-spelled or defined by a module not included in the server configuration
[Wed May 24 14:37:02 2006] [error] [client 67.185.18.110] File does not exist: /home/fresh/public_html/500.shtml
[Wed May 24 14:37:02 2006] [alert] [client 67.185.18.110] /home/fresh/public_html/admin/.htaccess: Invalid command 'Fix', perhaps mis-spelled or defined by a module not included in the server configuration
[Wed May 24 14:36:34 2006] [error] [client 67.185.18.110] File does not exist: /home/fresh/public_html/500.shtml
[Wed May 24 14:36:34 2006] [alert] [client 67.185.18.110] /home/fresh/public_html/admin/.htaccess: Invalid command 'Fix', perhaps mis-spelled or defined by a module not included in the server configuration
[Wed May 24 14:33:24 2006] [error] [client 67.185.18.110] File does not exist: /home/fresh/public_html/500.shtml
[Wed May 24 14:33:24 2006] [alert] [client 67.185.18.110] /home/fresh/public_html/admin/.htaccess: Invalid command '3to', perhaps mis-spelled or defined by a module not included in the server configuration
[Wed May 24 14:32:31 2006] [error] [client 67.185.18.110] File does not exist: /home/fresh/public_html/500.shtml
[Wed May 24 14:32:31 2006] [alert] [client 67.185.18.110] /home/fresh/public_html/admin/.htaccess: Invalid command '3to', perhaps mis-spelled or defined by a module not included in the server configuration
[Wed May 24 14:32:29 2006] [error] [client 67.185.18.110] File does not exist: /home/fresh/public_html/500.shtml
[Wed May 24 14:32:29 2006] [alert] [client 67.185.18.110] /home/fresh/public_html/admin/.htaccess: Invalid command '3to', perhaps mis-spelled or defined by a module not included in the server configuration
[Wed May 24 14:32:27 2006] [error] [client 67.185.18.110] File does not exist: /home/fresh/public_html/500.shtml
[Wed May 24 14:32:27 2006] [alert] [client 67.185.18.110] /home/fresh/public_html/admin/.htaccess: Invalid command '3to', perhaps mis-spelled or defined by a module not included in the server configuration
[Wed May 24 14:31:12 2006] [error] [client 67.185.18.110] File does not exist: /home/fresh/public_html/500.shtml
[Wed May 24 14:31:12 2006] [alert] [client 67.185.18.110] /home/fresh/public_html/admin/.htaccess: Invalid command 'Fix', perhaps mis-spelled or defined by a module not included in the server configuration
[Wed May 24 14:30:55 2006] [error] [client 67.185.18.110] File does not exist: /home/fresh/public_html/500.shtml
[Wed May 24 14:30:55 2006] [alert] [client 67.185.18.110] /home/fresh/public_html/admin/.htaccess: Invalid command 'Fix', perhaps mis-spelled or defined by a module not included in the server configuration
[Wed May 24 14:21:41 2006] [error] [client 72.30.61.91] File does not exist: /home/fresh/public_html/robots.txt
[Wed May 24 14:07:41 2006] [error] [client 66.249.65.144] File does not exist: /home/fresh/public_html/robots.txt
[Wed May 24 13:23:08 2006] [error] [client 66.154.102.56] File does not exist: /home/fresh/public_html/robots.txt

Just knowledgeable enough to be dangerous.

25 May 2006, 2:26 PM
#19
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

Re: 404 Not Found Error

This is a message that I received from my host..

Hello,

We have reviewed the server and unable to determine the issue. This has to be an issue with the script itself. I checked the errors logs and it is not reporting any 404 errors. This could mean that the script is attempting to pull data from a remote site. We recommend contacting the developers so they can explain what is happening with the script.

root@gator26 []# tail -n 1000 /usr/local/apache/logs/error_log |grep fresh
root@gator26 [
]#

Any more ideas?

Just knowledgeable enough to be dangerous.

29 May 2006, 2:48 PM
#20
jacque427 avatar

jacque427

Zen Follower

Join Date:
Apr 2005
Location:
Spokane, Washington
Posts:
324
Plugin Contributions:
0

Re: 404 Not Found Error

Here is a copy of the source from my admin log-in page.

It appears it is trying to pull somthing from stylesheet.css, is that correct?

<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"><head><title>404 Not Found</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link href="includes/stylesheet.css" rel="stylesheet" type="text/css"></head><body id="login" onload="document.getElementById('admin_name').focus()">
<h1>Not Found</h1>
<p>The requested URL  was not found on this server.</p>
<hr>
<address>Apache Server at  Port 80</address>

<form name="login" action="http://www.freshabundance.com/admin/login.php" method="post">
  <fieldset>
    <legend>Admin Login</legend>
    <label for="admin_name">Admin Username: <input id="admin_name" name="admin_name" value="" type="text"></label>
    <label for="admin_pass">Admin Password: <input id="admin_pass" name="admin_pass" value="" type="password"></label>
        <input name="submit" class="button" value="Login" type="submit">
    <a style="float: right;" href="http://www.freshabundance.com/admin/password_forgotten.php">Resend Password</a>  </fieldset>

</form>
</body></html>

Just knowledgeable enough to be dangerous.