-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 error on account and success pages #509
Comments
It doesn't actually sound like you're using zenmagick at all. If you aren't, then contact the ZenCart forums for support. |
Hello, thanks for your reply. Yes I am using it, Sorry I wasn't clear enough. I am using ZenMagick version: 0.8.6.1 |
Hi @lilianamaz - jrobeson may be able to help you here perhaps, but you should also be aware of the note on the ZenMagick site's front page: 21/10/2013: Development of ZenMagick has been suspended and is no longer supported. This site will continue to exist for a transitional time. It's a real shame, as there was some great work going on. Just as long as you're aware of that. Zen Cart Beta 1.6 has just been announced so you MAY want to explore that avenue instead. |
I know It's a shame!!! Well we have started to build a new site from scratch, but in the meantime, we need to get the old one working and I've already spent a lot of time fixing it and I feel super close but stuck!!! I hope anyone here can give me advise or ideas to fix my problem. Thanks guys :) |
OK well with the caveat that I'm not from ZenMagick, but used ZenCart a lot in the past, I might be able to help. This sounds like it might be a more generic .htaccess problem. First of all, the biggest clue will come in your sites error and access logs. Can you access them? Perhaps visit a couple of the broken pages, then copy and paste the relevant lines here if you don't spot anything? Also, post your .htaccess file for that directory - have you made any changes to them? But start with those error logs - php AND server if your host separates them out (most do). |
Hello, thanks for your reply digitaltoast. I am sorry for the late response, I was finishing my dissertation :). Here is the error log (I know It's a lot of stuff, But I don't consider any "important" issue): [29-May-2014 02:30:24 UTC] PHP Notice: Constant ZM_ADMINFN_CACHE already defined in /data03/c3047047/public_html/wholesale/zenmagick/core/settings/zenmagick.php on line 102 Here is the .htaccess: Options +FollowSymLinks for stores installed in the document root#RewriteBase / if your store is in a subfolder (for example, 'store') use something like this:RewriteBase /wholesale/ might use path elements that are used in other places tooRewriteRule ^([^/]+)/([^/]+)/rss.xml index.php?main_page=rss&channel=$1&key=$2 [QSA,L] RewriteRule ^static/([^/]+)/([^/]+)/?$ index.php?main_page=static&cat=$1#$2 [QSA,L] CUSTOM RULES marker comment (please do not remove)RewriteRule ^reviews/new/([0-9:a-f]+)/?$ index.php?main_page=product_reviews_write&products_id=$1 [QSA,L] RewriteRule ^(shopping)?cart/?$ index.php?main_page=shopping_cart [QSA,L] RewriteRule ^addressbook/?$ index.php?main_page=address_book [QSA,L] RewriteRule ^account/history/order/([0-9]+)/?$ index.php?main_page=account_history_info&order_id=$1 [QSA,L] RewriteRule ^manufacturer/([0-9]+)/([0-9:a-f]+)/?$ index.php?main_page=product_info&manufacturers_id=$1&products_id=$2 [QSA,L] RewriteRule ^model/([-0-9a-zA-Z]+)/([0-9_]+)/?$ index.php?main_page=product_info&model=$1&cPath=$2 [QSA,L] RewriteRule ^product/([0-9:a-f]+)/([0-9_]+)/?$ index.php?main_page=product_info&products_id=$1&cPath=$2 [QSA,L] RewriteRule ^category/([0-9_]+)/([0-9]+)/?$ index.php?main_page=index&cPath=$1&page=$2 [QSA,L] RewriteRule ^specials/?$ index.php?main_page=specials [QSA,L] RewriteRule ^sitemap/?$ index.php?main_page=site_map [QSA,L] RewriteRule ^popup/([^/]+)/?$ index.php?main_page=popup_$1 [QSA,L] RewriteRule ^search/?$ index.php?main_page=advanced_search [QSA,L] RewriteRule ^timeout/?$ index.php?main_page=time_out [QSA,L] redirectRewriteRule ^redirect/manufacturer/([^/]+)/?$ index.php?main_page=redirect&action=manufacturer&manufacturers_id=$1 [QSA,L] exclude adminRewriteRule ^admin(.*)$ admin$1 [QSA,L] RewriteRule ^home$ index.php?main_page= [QSA,L] I got a discovery today! I created a user account, then went to back office and authorised de user and then back to the store I tried to access the "my account" page, without logging out and it WORKED!!!!! But then, I logged out and logged back in and it didn't work. (Tested it several times). So I "assume" it must be a log in / session issue? Another problem we are having is that wen user registers it send emails normally, but when users place an order, It doesn't send confirmation email. This is not a priority, but I tell you just in case it's related. I hope you can help me because I've spend so much time trying different stuff and nothing works. CHeers |
BTW, I am sorry for the bolds! Didn't know it was going to format it that way :o |
I really honestly think you'll save yourself a MASSIVE amount of stress, time and trouble by spending the time upgrading the cart to a current version of Zen Cart, either 1.53 or 1.6. The version of ZenMagick you say you are using is from 2007 - that's 7 years old! You haven't got a hope in hell I'm afraid. Just make sure you are on at least php 5.4 (preferably 5.5), download ZC v 1.53 and go with that. Looking at how many errors there are, and with the ZenMagick forums and Wiki closed and removed, you are entering a world of hell trying to fix this mess. Just make a fresh site, built to current web, coding and backend standards, then import your DB :) |
Hello, I've already tried that, but then I didn't know how to update zenmagick without loosing all the customisation. I don't know If I mentioned that I didn't developed the initial site, and I don't know too much about Zen Cart/ Zenmagick. Is there any "easy" procedure to update to 1.5? without loosing anything? Thanks |
Hello, I write because I need help with a site desperately!
It's an old zencart site, version 1.3.8a. It was working alright until recently the hosting company updated the PHP version and then it stopped working, so I am trying to fix it, I downloaded the patch files and updated the deprecated functions, so I made it work again.
The only problem I have now is that I am getting 404 Not Found error in the account and succesful checkout pages.
I haven't use zencart/ zenmagick before, so I am a bit confused. Nevertheless I've checked and the files are there and cannot see any error.
Do you have any Idea to help me fix this please?
Thanks in advance
The text was updated successfully, but these errors were encountered: