Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL 404 Error


AllTheAbove

Recommended Posts

I directly copied the secure URL into the two config files, so I know they are good. I can access the webpage using the secure URL, but I get a 404 when I click on My Account at the top. I have the config file SSL set to true.

 

It is trying to access account.php which is defined in database_tables and filenames.

 

Please help

Thanks

Lori

Link to comment
Share on other sites

Please post the top 10-12 lines of your includes/configure.php file.

 

Vger

define('HTTP_SERVER', 'http://alltheaboveweb.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://alltheabovew.secure.powweb.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'alltheaboveweb.com');
 define('HTTPS_COOKIE_DOMAIN', 'alltheabovew.secure.powweb.com');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/catalog/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/www/a/l/alltheaboveweb.com/htdocs/catalog/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

There you go

Link to comment
Share on other sites

Go to login.php via your http address and this is what you get:

Warning: main(includes/languages/english/FILENAME_LOGIN): failed to open stream: No such file or directory in /www/a/alltheabovew/htdocs/catalog/login.php on line 20

Warning: main(includes/languages/english/FILENAME_LOGIN): failed to open stream: No such file or directory in /www/a/alltheabovew/htdocs/catalog/login.php on line 20

Fatal error: main(): Failed opening required 'includes/languages/english/FILENAME_LOGIN' (include_path='.:/usr/local/lib/php') in /www/a/alltheabovew/htdocs/catalog/login.php on line 20

 

Looks like you either have some files missing, or some file references in includes/languages/english.php

 

Vger

Link to comment
Share on other sites

Go to login.php via your http address and this is what you get:

Warning: main(includes/languages/english/FILENAME_LOGIN): failed to open stream: No such file or directory in /www/a/alltheabovew/htdocs/catalog/login.php on line 20

Warning: main(includes/languages/english/FILENAME_LOGIN): failed to open stream: No such file or directory in /www/a/alltheabovew/htdocs/catalog/login.php on line 20

Fatal error: main(): Failed opening required 'includes/languages/english/FILENAME_LOGIN' (include_path='.:/usr/local/lib/php') in /www/a/alltheabovew/htdocs/catalog/login.php on line 20

 

Looks like you either have some files missing, or some file references in includes/languages/english.php

 

Vger

 

Ok, thanks. Ever since I installed the infobox skins contrib, I have had tons of trouble. With no support for the product, it has been a major pain in the neck. Looks like I will have to remove that contrib and find another way to change colors around.

 

Appreciate the help, Vger

 

Lori

Link to comment
Share on other sites

  • 2 months later...
Ok, thanks. Ever since I installed the infobox skins contrib, I have had tons of trouble. With no support for the product, it has been a major pain in the neck. Looks like I will have to remove that contrib and find another way to change colors around.

 

Appreciate the help, Vger

 

Lori

 

 

Your problem is so similar to mine. Powweb's my server, too. I just noticed problems since I started changing colors & fooling around with the infoboxes. I didn't use any contribution, though.

 

I see an error in your configure.php code:

 

define('HTTPS_SERVER', 'https://alltheabovew.secure.powweb.com'); // eg, https://localhost - should not be empty for productive servers

 

should have been

 

define('HTTPS_SERVER', 'https://alltheabovewebcom.secure.powweb.com'); // eg, https://localhost - should not be empty for productive servers

 

You leave out the dot and make sure you type the complete address.

 

Have you made any further progress on accessing parts of your site without getting the 404 Error?

 

I get it from pages that are entered from http://, not https: like most who have similar problems.

 

This is complicated to explain. Please bear with me.

 

I get a weird black outline on the upper left corner of the Categories box label. (I added subcategories in the past before I moved my catalog folder from htdocs/osCommerce/catalog to htdocs/catalog.) When I go to mywebsite.com/catalog the first time for the day, there's no black line on Categories and everything I click on to navigate to works fine. Then after the first time, it gets weird.

 

If I click links that take me to other pages, then go back to the Catalog page, the black corner line appears on Categories heading. After that, no matter by what method, the subcategories won't open to their page links. It displays 404 error and says no files exist at htdocs/osCommerce/catalog. (Which of course they don't because I moved them.) Then also, I get the same problem trying to open links from there to any other non-secure pages.

 

I can't find what's making it look for files at osCommerce/catalog. My configure.php files seem to be OK. This is high weirdness.

 

Use search engine safe URL's is set to false in Admin/Configuration. Can anyone PLEASE assist?

Link to comment
Share on other sites

Your problem is so similar to mine.

 

I get a weird black outline on the upper left corner of the Categories box label...

 

To all you unloved people who have just started like me (refuse to use cliche term), :rolleyes: I fixed this. I redid the Categories by typing in new info from inside Administration>Catalog. When I refreshed the page after that, the black corner lines were gone & all my osCommerce/catalog 404 errors disappeared.

 

Don't know why. Cache issue? Too new to know, or to know better than to ask for help, but it was worth a shot.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...