The site shows up just fine,it's only if i click on any category i get the "Custom" 404 page, not the typical google 404 error page,??
Where in my instructions do I say you need to mess about with htaccess?
If your TEST site does not work, then you have not followed my instructions... and it is possible that if you continue, you could end up messing up your LIVE site.
Follow my instructions. There should be no 404 errors, no htaccess tweaks...
If you get errors, then you have not followed my instructions
20 years a Zencart User
Hello,
I followed your detailed instructions, thanks so much it works great, i now have a site to do testing, however according to your instructions i copied the complete data from the main site database to the new database i created for the test site, so now all customers, orders etc. are showing in the test site admin, i do not need this information how can i delete all orders/customer details?
Additional Considerations
Just to be on the safe side, you may wish to disable the email subsystem prior to manipulating anything with customer data (just to be on the safe side if you have existing orders / customer data)...
If you plan to test sending email, I'd recommend changing the store name (and / or the email address they are sent to). This makes identifying emails easier.
Safe Way
This method is tried, true, and safe. Use the Zen Cart admin folder to remove all unnecessary data. This includes orders, customers, admin users, etc.
Fast Way
While this method is fast, any mistakes made when directly modifying the database can break things.
Use phpMyAdmin to TRUNCATE (will empty the table) the following database tables: address_book, customers, customers_basket, customers_basket_attributes, customers_info, orders, orders_products, orders_products_attributes, orders_products_download, orders_status, orders_status_history, and orders_total.
Afterwards use something similiar to the following to remove all administrative users except admin.Code:TRUNCATE `address_book`;
Code:DELETE FROM `admin` WHERE NOT `admin_name` = 'admin';
The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker
Followed your instructions, i successfully deleted all information, however how do i do this:
?
Also, i have a lot of links on my site (in ezpages etc.) which the full link is incorporated in the html therefore resulting them in being opened in the regular site instead of in the test site, is there a way to add the links dynamically it should automatically consider the subfolder if in the test site? i tried having them as /index.php?main_page=index&cPath=2 but it still took it to the regular site
Last edited by ShopVille; 3 Jun 2013 at 11:38 PM.
Admin->Configuration->Email Options->Send Emails? yes/no
You would have to manually edit every link that you had hard-coded into an ez-page.
Or, just don't click on those links because you know they're gonna point to the wrong site. Instead use the normal site-provided navigation.
This is a TEST site, right? so only you will be using it, and it's all experimental and will never be the actual "live" site. Right?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Bookmarks