Post by flinxz » Fri Jan 09, 2009 11:44 am

Hello, I recently installed 0.79RC6.  The install went well and I was able to administer the site.  I spent a few minutes changing categories and editing a few settings.  I ultimately created a dummy user to test out the site as a non admin.  Once I went back to editing (as admin) I found I was no longer able to do anything.  The address adds an extra /admin (.com/store/admin/admin/?controller=home)   If I remove the extra /admin I can see the menus, but if I try to save any edits I have the same issue.  "The page you requested cannot be found!" with an extra /admin in the address.

I don’t know how the extra /admin started happening (I don’t think I had even closed the session from when it was working just fine.)

Is there a file I can edit to fix this?  I looked thru a few of them, but came up with nothing.

**Edit:  I now think having the SSL enabled (for Admin) is causing my problem.  Is there a way to disable this?
Last edited by flinxz on Fri Jan 09, 2009 12:26 pm, edited 1 time in total.

Newbie

Posts

Joined
Fri Jan 09, 2009 11:33 am

Post by Qphoria » Fri Jan 09, 2009 12:46 pm

You can run this sql in your phpmyadmin:

Code: Select all

UPDATE `setting` SET `value` = '0' WHERE `type` = 'admin' and `key`= 'config_ssl' ;
If enabling SSL on the admin, the config file also needs to be updated manually. This should probably be assumed to be https://www.yoursite.com. during install. We'll discuss it
Last edited by Qphoria on Fri Jan 09, 2009 12:57 pm, edited 1 time in total.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by flinxz » Fri Jan 09, 2009 1:00 pm

That fixed it, thank you very much.

Newbie

Posts

Joined
Fri Jan 09, 2009 11:33 am

User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Qphoria » Fri Jan 09, 2009 8:15 pm

Yea we are working on a fix

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by hm2k » Fri Jan 09, 2009 8:30 pm

I addressed this issue with the following code changes:

http://code.google.com/p/open-cart/source/detail?r=324

Please let me know if this fixes your problems, you may need to reinstall to make it relevant.
Last edited by hm2k on Fri Jan 09, 2009 9:04 pm, edited 1 time in total.

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK

Post by yl » Mon Jan 12, 2009 1:20 am

Hi,

I have a problem with https://. I just posted a thread with this problem. As you suggest that should have it fixed after installed these files?? I still have the two-admin problem once I put ssl on on admin panel. Please advise. Thanks!

yl
New member

Posts

Joined
Tue Nov 25, 2008 6:46 am

Post by hm2k » Mon Jan 12, 2009 1:39 am

The error in this thread seems different to the issue addressed here.

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK

Post by yl » Mon Jan 12, 2009 1:48 am

After I attempted to fix HTTPS by adding // HTTPS
define('HTTPS_BASE', 'http://www.yourstore/'); on config.php. https url works fine. Also, It fixed my problem having two admin displaying on url address.

Q mentioned it on http://forum.opencart.com/index.php/topic,2559.0.html

Thank you all!!

yl
New member

Posts

Joined
Tue Nov 25, 2008 6:46 am

Post by hm2k » Mon Jan 12, 2009 2:04 am

I'd prefer it if you could stick to one thread... It's annoying discussing it twice.

UK Web Hosting


User avatar
Global Moderator

Posts

Joined
Tue Mar 11, 2008 9:06 am
Location - UK
Who is online

Users browsing this forum: No registered users and 3 guests