ploughguy Posted August 14, 2017 Share Posted August 14, 2017 I suggest you put that cup of coffee down and swallow whatever is in your mouth before reading further. We don't want any nasty accidents. Safe to proceed? OK. I have an online store that runs CubeCart 4.3.4. I tricked it up so it does some nice things with shipping, made the invoices Australia compatible and fiddled with the tax handling to make it agree with the letter of the law for GST. Added some display stuff etc et etc. Installed some enhancements to get linearly numbered invoice numbers and stock levels for product options so it does pretty much what I want it too. Doing it all once was OK, but doing it again for version 5, then version 6 ... you know how it is - rather go to the beach, the races, the bar, the proctologist... Maybe for version 7. Anyhow, I have had to move my development environment to a new machine and it almost works. I use a subversion/Coda rig to keep it all in order. In the interests of general hygiene, I copied the production system installation back from the live server to make a test environment, rather than muck around the ancient setup from the original system. Oh, and it all runs on a Mac. Has done for years. However, the test environment is only partly functional. The store itself is good except that the images are not showing up. (probably need to rebuild the image database, whatever that does. That ain't the problem.) Problem is that the admin screen returns with this: Not Found The requested URL /~russ/shop/~russ/shop/admin.php was not found on this server. The url to the shop itself is http://localhost/~russ/shop and that works fine (except for the images.) Something is infecting the admin URL with an extra "rootRel" from global.inc.php. Any ole-timers got any thoughts about what this might be? Russ Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted August 14, 2017 Share Posted August 14, 2017 Is SSL enabled? If so turn it off before exporting the database. I can't remember if v4 detects paths or not. If it does it may have a problem with the username style path. Maybe you can setup http://localhost/shop instead? Quote Link to comment Share on other sites More sharing options...
ploughguy Posted August 14, 2017 Author Share Posted August 14, 2017 Al, this must bring back fond memories - or nightmares... The amusing part of it is that the store itself works. It is just the admin functions that are broken. However the coding of the admin side is quite distinctly different from the customer-facing part. This is a good point that you make. SSL is enabled for the whole site for the production system, but not for the development system. Is there something SSL-ish in the database that I need to change to switch it off? R Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted August 14, 2017 Share Posted August 14, 2017 I think if SSL is switched on the admin side forces SSL. It's stored in the config array in the CubeCart_config table. ssl needs to be set to have a value of 0. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.