Zen Cart Logo
Forums / General Questions / Cannot Edit Products or make changes in admin controll after SSL Installation.

Cannot Edit Products or make changes in admin controll after SSL Installation.

Views: 1,563

Results 1 to 9 of 9
26 Jan 2011, 5:31 AM
#1
missta avatar

missta

New Zenner

Join Date:
Jan 2011
Location:
Colorado
Posts:
15
Plugin Contributions:
0

Cannot Edit Products or make changes in admin controll after SSL Installation.

I'm am using Zencart version 1.3.9h installed using godaddy's application installation in hosting controls. Run on Linux OS, with a template addon.
Godaddy said to use an .htaccess file to redirect site to show the "s" in the https://.
Code is as followed: in the .htaccess file located in root directory of site. This code is not from godaddy, i had to search it on the net.


RewriteEngine On

RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.greenletdesigns.com/$1 [R,L]
Is this correct?


After I installed SSL Certificate using these instructions from the Zen Cart Tutorial Site:
https://www.zen-cart.com/tutorials/index.php?article=14

Following these instructions from tutorial site, the customer was not able to log in, so i set the SSL codes after to 'true" the 2 configure.php in admin folder and includes folder:

from admin/includes/configure.php
define('HTTP_SERVER', 'http://greenletdesigns.com');
define('HTTPS_SERVER', 'https://greenletdesigns.com');
define('HTTP_CATALOG_SERVER', 'http://greenletdesigns.com');
define('HTTPS_CATALOG_SERVER', 'https://greenletdesigns.com');
define('ENABLE_SSL', 'true');

// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'true');

from /includes/configure.php
define('HTTP_SERVER', 'http://greenletdesigns.com');
define('HTTPS_SERVER', 'https://greenletdesigns.com');
define('ENABLE_SSL', 'true');

This worked and the customer was able to log-in.
New problem arised: I am not able to edit my products or any admin settings and have it save. After clicking the update button or save, it autoloads me back to the main admin controls page. I checked to see if the changes were save. NOTHING is SAVED. Products can be edited and added, but none of those changes were save.

I also tried removing the .htaccess file and left the 2 config files alone, Everything works fine. Only the checkout page has the "s" in the https://. I tried completely removing all codes changed and revert back to normal. Everything is fine. But i would like for all the pages to have the "s" in the https:// for customer security.

In addition, my Favicons don't appear anymore after SSL installation too. But it appears on my phone web browser. Following these instructions from Zen cart tutorial: https://www.zen-cart.com/tutorials/index.php?article=52

Please help with this issue. I've been searching my eyes out, i also called godaddy tech support. They said everything is working fine on their end. I've read through all the previous threads of this problem, but i still have not solved it. :cry:

31 Jan 2011, 11:02 PM
#2
guscogui avatar

guscogui

New Zenner

Join Date:
Jan 2011
Posts:
1
Plugin Contributions:
0

Re: Cannot Edit Products or make changes in admin controll after SSL Installation.

Hello, Could you solve the problem? I have the same problem and I cannot solve it.

Thanks in advance

1 Feb 2011, 5:50 AM
#3
missta avatar

missta

New Zenner

Join Date:
Jan 2011
Location:
Colorado
Posts:
15
Plugin Contributions:
0

Re: Cannot Edit Products or make changes in admin controll after SSL Installation.

I couldn't solve it, so i reinstalled. now i can't even enter the Catalog/products page in the admin tools control.

It gave me this error: now

**Not Found

The requested URL /greenlet/greenlet/adminfolder/categories.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.**

6 Feb 2011, 6:19 AM
#4
missta avatar

missta

New Zenner

Join Date:
Jan 2011
Location:
Colorado
Posts:
15
Plugin Contributions:
0

Re: Cannot Edit Products or make changes in admin controll after SSL Installation.

no .htaccess file needed for this redirect with goddady.

I Found somewhat of an answer. I called GoDaddy.com support again. Because my zencart was installed on Linux, godaddy support helped me by doing "site redirect" in the Hosting Control Panel/Content. If the OS is installed on a Windows OS the procedure is different.

I still don't have the "https://" on all the links. The only places that the "https://" appears is the main page, and when the customer clicks the checkout button.

Tip: If you called Godaddy support and it didn't work the first time, keep calling, you'll get different tech supports that may know more than others.

6 Feb 2011, 7:47 AM
#5
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Cannot Edit Products or make changes in admin controll after SSL Installation.

All you need for 'https' is to state 'true' in both config files; presuming the SSL Cert has been installed correctly.

**/greenlet/greenlet/adminfolder/categories.php
**- re-upload this file as it is missing or is corrupted, if still having same problem then delete it and re-upload

7 Feb 2011, 7:40 AM
#6
missta avatar

missta

New Zenner

Join Date:
Jan 2011
Location:
Colorado
Posts:
15
Plugin Contributions:
0

Re: Cannot Edit Products or make changes in admin controll after SSL Installation.

I installed it through Godaddy's application installation. I don't have the actual file to re-upload. SSL is also installed and setup with godaddy. I did the content redirect through godaddy's hosting controls and it only works for the main page and for checkout.

I thought it would work for every page on the site, but i think zencart not allowing that. when i add a new EZpage, i can set that new EZpage to have ssl and everytime that page is clicked on it has the "https://"

You can see my page at https://www.greenletdesigns.com and go to the bottom and click on "Sales Taxes" the "https://" is crossed out before it was green, i think it's because i just installed Dual pricing. "sigh" :cry:

Both config files on are all set to true.

Is there anything else i can do?

Thanks

7 Feb 2011, 9:18 AM
#7
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Cannot Edit Products or make changes in admin controll after SSL Installation.

I did the content redirect through godaddy's hosting controls and it only works for the main page and for checkout.
Don't do that. :wink:

If you have 'https' set to 'true' in both your config files, Zen Cart will use 'https' at the proper time(s).

Remove the main .htaccess file, at the same level as the Zen Cart 'index.php' file, using your FTP program. Also, go to the Home page of this Forum and download the version of Zen Cart you are using. Then you can upload the "categories.php" file with your FTP program.

29 Mar 2011, 2:23 AM
#8
jerbroch avatar

jerbroch

New Zenner

Join Date:
Mar 2011
Posts:
2
Plugin Contributions:
0

Re: Cannot Edit Products or make changes in admin controll after SSL Installation.

I found an easy fix that works great as far as I can see, simply change the http severs in both configuration files to https as well. I forced https over the entire site with htaccess and everything works!

29 Mar 2011, 2:53 AM
#9
jerbroch avatar

jerbroch

New Zenner

Join Date:
Mar 2011
Posts:
2
Plugin Contributions:
0

Re: Cannot Edit Products or make changes in admin controll after SSL Installation.

jerbroch:

I found an easy fix that works great as far as I can see, simply change the http severs in both configuration files to https as well. I forced https over the entire site with htaccess and everything works!

....AND to enable to customer to login properly, you must change change this as per the post on another thread

Go to ADMIN... CONFIGURATION... SESSIONS... RECREATE SESSIONS... set this to FALSE.