Quick update: Tested problem on unmodded 1.38a version and return to product display from cart worked fine so it was NOT the upgrade from 1.37 to 1.38a that caused the problem
Printable View
Quick update: Tested problem on unmodded 1.38a version and return to product display from cart worked fine so it was NOT the upgrade from 1.37 to 1.38a that caused the problem
Disregard my last message. The 1.38a version without the Edit Cart mod did NOT work.
This problem gets wierder!
I reread the forum and fixed the missing "[click to edit]".
I am using a local WAMP server running Apache 2.0.58, PHP 5.14 and MySQL 5.0.22. I have several copies of the shop installed for testing, each with its own database. There is a copy of the shop on the remote server behind a firewall.
On the remote server running ZC 1.38a, clicking on the product image/name in the shopping cart returns you to the product listing as expected. On the local server an old copy of the shop running ZC 1.37 does the same. The copies of the shop running ZC 1.38a on the local server give the Forbidden Access error message. ALL of the ZC 1.38a versions are running Ultimate SEO mod along with some others.
I copied the working copy of the shop from the remote server to a new folder on the local server, adjusted the config.php and the .htaccess files, imported the SQL database from the remote to a new db on the local server and ran fix_cache_key.php. Forbidden Access from the cart. :frusty:
HELP!
For all PRACTICAL purposes, the problem is "fixed".
I bit the bullet and installed the Edit Cart mod directly to the remote server.
It works perfectly. So the problem is "fixed" but NOT "solved". :blush:
If anyone has any ideas as to why the WAMP server is misbehaving, I would appreciate them.
I am glad you "got out of the hole" at least on your production server.
Just to reiterate, the "[click to edit options]" is just text I added to my, also heavily modded, shopping cart page. It is not actually necessary to add that. A click on the product name will take you back to edit the options regardless. I only added that to labor the point for users of my site. But I did not think it was worth making "edit cart" users change their tpl_shopping_cart page.
I have been very busy and have not had a chance to update the mod for ages. But there are a few tweaks that people have requested, so will try to do do soon.
As for your other error. It is very mysterious. Anything in your logs?
NO, nothing in the logs on the WAMP server.
I noted that the problem with the link was what I presumed was a session number attached to the end of the URL for return to the product page.
For example, the product page for the product which was added to the cart was localhost/newzen/embark-p-546.html but the link was trying to load
localhost/newzen/embark-p-546:b77b08f707992a5d739bd25dcf2d0d77.html.
I noted that tpl_shopping_cart_default.php uses $product['linkProductsName'] for the link from the product name and this produces the extended URL whereas the "Continue Shopping" button further down uses zen_back_link() which takes me back to the product page. Of course that only works if I want to edit the product immediately after I've added it. And the problem occurs even when the Edit Cart mod to tpl_product_info_display.php is NOT installed. So clearly it is NOT a problem with Edit Cart.
I just can't figure why it works on the remote server and NOT on the local WAMP server. Unless the problem was never tested before and the differences in the server configurations are the problem:
Remote server (GoDadddy): ZC: 1.38a Apache: 1.3.33 PHP: 4.3.11 MySQL: 5.0.45
Local WAMP server: ZC: 1.38a Apache: 2.0.58 PHP 5.1.4 MySQL: 5.0.22
I appreciate your mod and interest.
Let me know if you have any further thoughts.
Justin,
One last piece of information. Turning OFF the Ultimate SEO mod allows the shopping cart link to function properly on the WAMP server. (But it works OK with the SEO mod ON on the GoDaddy server)
Looks like I will have to search in that thread and if I don't find something I'll post the problem there. :blink:
Ah, well spotted. ... and good luck.
Justin
I have no idea why this is not working for me.... seems so straight forward.
I used FTP to upload the includes folder to my root folder exactly as instructed. I made on changes whatsoever. Did I miss something? My products will have a LOT of attributes so I believe this is an important mod.
Any advice is appreciated.
Zen Cart v1.3.8
Hi MtnVision
Did you change the all folders named TEMPLATE_NAME to your actual template name ("SophyBlue" ) before you uploaded all the files?
That would be the most obvious thing to check. The mod does not have very many files, so I would check, one by one, that they have all been uploaded, and that they are in the right places.
Justin
Yes I did make the MY_TEMPLATE folder name changes. I'm sorry about that comment but I meant code changes. Yes I have reviewed the directory structure & made an observation that the template I use SophyBlue is not 'sophyblue' in lower case so that correction was made.
But still no worky. :unsure: