Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

create account & order maker for osc2.3.1 v3.0 error 404


dculley

Recommended Posts

Installed or should I say trying to install the above add on. All went well until the test. It seems to be not finding the correct URL path. I am getting the following error. (only wanted to list 2)

 

Not Found

The requested URL /admin/HTTPS_SERVER/admin/index.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache Server at www.ladybuggardendecor.com Port 443

 

 

Not Found

The requested URL /admin/HTTPS_SERVER/admin/create_account_process.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache Server at www.ladybuggardendecor.com Port 443

 

It is coming from the following statements in the php files.

 

'<a href="' . tep_href_link(FILENAME_DEFAULT, '', 'SSL') . '">'

 

Don't know how to fix this one.

 

Thanks

Dean

Link to comment
Share on other sites

"/admin/HTTPS_SERVER/admin/" makes absolutely no sense. It should be something like "https://www.yourdomain.com/admin/". Have you ever successfully used SSL pages before in your site, or is this the first time? If not (this is first time), double check your configure.php files for their HTTPS* definitions. By the way, your admin/ directory should have been renamed at some point in your installation process.

 

P.S. Ignore the "Additionally, a 404 Not Found..." message. It's just an Apache server brain fart.

Link to comment
Share on other sites

If you're getting a literal HTTPS_SERVER in the address, it sounds like configure.php might not be included in this new module (is there a new module involved? does it call application_top.php and bring in configure.php?). Then, why is there an "admin/" in front of the HTTPS_SERVER? Did you manually install this (edit code yourself)?

Link to comment
Share on other sites

I haven't changed anything. The add on I installed is "Create Account & order Maker for OSC 2.3.1 V3.0" Yes I running osc 2.3.3. It is all installed as per the instructions. I had already added the Order Editor 6 months ago. I have no clue to where the "admin/" is coming from. Be leave me, I have tried to find it. Over the past year I have really learned my around most of the codes. This is bugging me.

 

This add on has 15 new php files. I looked at admin/create_account.php and at the top it has - require('includes/application_top.php'); So it is calling that php file. This add on is the only program having this problem. If I knew where that first admin is coming from I would kill it.

Link to comment
Share on other sites

All I can see for sure is that someone (probably one of the new routines) has called tep_href_link(name, 'SSL') while HTTPS_SERVER is undefined. Have you actually looked inside both your configure.php files to confirm that nothing's been changed? Look at the "last modified" timestamp, too. Are there any other configure.php files floating around, that perhaps this add-on brought in? Hopefully you'll find a mangled configure.php file, that when fixed, solves all these problems. There's also the possibility that a new page is failing to call application_top.php, so configure.php isn't even brought in. Beyond those leads, all I can suggest is going over your files with a fine-toothed comb.

Link to comment
Share on other sites

Fixed the issue.

 

For all those who want to know the missing step.

 

Go to admin/includes/confilgure.php

 

Find:

 

define('HTTPS_CATALOG_SERVER', 'https://www.your site.com');

 

add just under this line

 

define('HTTPS_SERVER', 'https://www.your site.com');

 

It was that easy.

Have fun.

Link to comment
Share on other sites

The add-on must be the only thing needing HTTPS_SERVER, else that would be in the default admin configure.php. They probably should have used HTTPS_CATALOG_SERVER instead. Whatever. Glad you figured out what happened. BTW, where did the extra /admin/ in front come from?

Link to comment
Share on other sites

I agree. It is in this program only. But I could not find where in the add on to add CATALOG in the line. So I went with the simple fix.

But I used your hints to help me think in a different way. That is why I went simple.

Link to comment
Share on other sites

Hi Matt

 

Why wasn't this not fixed in 2.3.3? Whet to your bug report. And made the change and it works. (I did remove the above step I added to get it to work before this). So the configure.php file is back to where it was.

 

Thanks

Dean

Link to comment
Share on other sites

Why wasn't this not fixed in 2.3.3?

 

Probably because 2.3.3 came out 5 months before the bug report?

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...