Page 1 of 1
xampp help (SOLVED)
Posted: Sun Apr 28, 2013 12:12 am
by wijnendael
Can somebody assist me with this problem, i have xampp installed and a local copy of my shop in the htdocs folder. I can open the admin section from the index.php and everything appears to work ok until i go to the online shop. When i try this the home page opens fine but if i attempt to open any page from here then i get a page is not redirecting properly and the url address bar shows "localhost/Shop Backup/install (a lot of times)/index.php. wher have i got a wrong setting is it in the shop config file or dreamweaver cs3 site setup, can somebody please help
Re: xampp help
Posted: Sun Apr 28, 2013 1:38 am
by butte
With xampp (and even without adding dreamweaver) you do not have a standard server setup locally. You might try installing into their own root level directories Apache, php, mysql, and then within Apache also OC (just move it over and change its configuration to match its new home).
Installation files should have been read, executed, and deleted. That it is looking to installation files indicates that you might moreover have not fully read the OC (or possibly the others') instructions.
Re: xampp help
Posted: Sun Apr 28, 2013 2:23 am
by wijnendael
Hi, thanks for the reply. The opencart files are installed in the xampp/htdocs folder and the install folder of opencart was deleted after original setup. Some time ago i had a few problems with xampp and re-installed the current version, before this i dont think i had any problems with running my shop backup through dreamweaver and opencart. Everything appears to open in admin and catalog except when selecting a item from the home screen in the shop.
Re: xampp help
Posted: Sun Apr 28, 2013 2:29 am
by victorj
it is possible that when you edit files with dreamweaver it will put the links as as absolute path from whereever dreamwaever is working.
so do check that
xampp help
Posted: Sun Apr 28, 2013 4:31 am
by madimar
I know it is not exactly the answer to your issue but I can report to you my experience. I've used for years xampp with opencart without particular issues but, finally something was broken in my installation. In that situation I discovered wamp which I'm still using now. Finally I feel wamp better than xampp even if they are basically equivalent.
Maybe you could have a try with wamp if you have never used it.
Regards,
M
Sent from my iPad using Tapatalk
Re: xampp help
Posted: Sun Apr 28, 2013 4:58 am
by butte
Somehow it is remembering to look for localhost/Shop Backup/install, and ordinarily in that context I would expect anything alike ShopBackup to be left over from installation rather than to involve an afterward recurrently executed backup script. You might try finding a script that should already have been euthanized; true, "somewhere" yet unknown.
Another detail just poked me in the eye, the spaces in paths. If you have spaces, then paths belong inside fully mated quotation marks, both for the configuration files (such as ' and ' whether with or without spaces), AND PROBABLY INSIDE THOSE also inside fully mated quotation marks (such as " and ") for Windows (they may need to be escaped, as '\" to open and as \"' to close path.
Re: xampp help
Posted: Sun Apr 28, 2013 5:51 am
by victorj
i left wamp and xamp all together and changed to ammps
dont know if it is my windows 8 having problems with the first, but ammps is running as a charm.
Must say put in a extra hardrive and asigend and installed only ammps here
Re: xampp help
Posted: Sun Apr 28, 2013 6:50 am
by madimar
Victory, I didn't know ampps... I will try maybe!
Regards,
M
Re: xampp help
Posted: Sun Apr 28, 2013 10:39 am
by rph
I'll second
AMPPS if you're developing on Windows or Mac OS. I had some trouble with WAMP so I figured I'd give it a try. It's been smooth sailing ever since.
The file you're having wijnendael is likely related to your config.php files not being written correctly. If DIR_APPLICATION isn't defined then OpenCart will redirect to install. I also recommend putting your Apache server on the base of your hardrive and not using any capitalization or spaces in your folder names (lower a-z, numbers, dash, and underscore only).
R: xampp help
Posted: Wed May 01, 2013 4:43 pm
by madimar
Rph, my first concerns regarding ampps are related to softacoulous. I don't need that easy to install interface and I fear it could be heavier than simple wamp interface.
What's experience with ampps?
M
Sent from my DesireHD.
Re: xampp help
Posted: Wed May 01, 2013 5:29 pm
by victorj
ammps at least at my comp runs smoother than the orhers.
apache php and mysql are fully configurable.
soptalicious is there but does nothing until you call on it and if you want to install something it is downloaded, so it does not take tons of space.
even with lots of screens and programs opened is runs smooth and without any errors.
Re: R: xampp help
Posted: Wed May 01, 2013 10:37 pm
by rph
madimar wrote:Rph, my first concerns regarding ampps are related to softacoulous.
Yeah, the way Softaculous screws up OpenCart upgrades I wasn't expecting much from AMPPS but it works extremely well.
Re: xampp help
Posted: Thu May 02, 2013 1:39 am
by wijnendael
Ok finally found what causes links to return to xampp page, it has something to do with SEO keywords because if i disable this in the site setup server tab then i have no problem with changing pages using xampp and dreamweaver. Not sure why it does this so will have to do more reading on setting up and installing the keywords etc
Re: xampp help (SOLVED)
Posted: Thu May 02, 2013 12:45 pm
by rph
Make sure your RewriteBase is set up correctly.
Re: xampp help
Posted: Sun Jan 05, 2014 1:52 am
by ocnewbie
wijnendael wrote:Ok finally found what causes links to return to xampp page, it has something to do with SEO keywords because if i disable this in the site setup server tab then i have no problem with changing pages using xampp and dreamweaver. Not sure why it does this so will have to do more reading on setting up and installing the keywords etc
Have been looking for a resolution to this issue also. Everything works good through admin. When I click on store from admin I go to the welcome page no problem. However, when I click on any link on the welcome page I end up at
Local-Host-Category-Page.png (258.68 KiB) Viewed 4119 times
When I change to not use SEO everything works fine in the front end.
httpd.conf in Apache conf directory = LoadModule rewrite_module modules/mod_rewrite.so (made sure the # was not there).
Here is my config.php
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://localhost/store/');
// HTTPS
define('HTTPS_SERVER', 'http://localhost/store/');
// DIR
define('DIR_APPLICATION', 'C:\xampp-portable\htdocs\Store/catalog/');
define('DIR_SYSTEM', 'C:\xampp-portable\htdocs\Store/system/');
define('DIR_DATABASE', 'C:\xampp-portable\htdocs\Store/system/database/');
define('DIR_LANGUAGE', 'C:\xampp-portable\htdocs\Store/catalog/language/');
define('DIR_TEMPLATE', 'C:\xampp-portable\htdocs\Store/catalog/view/theme/');
define('DIR_CONFIG', 'C:\xampp-portable\htdocs\Store/system/config/');
define('DIR_IMAGE', 'C:\xampp-portable\htdocs\Store/image/');
define('DIR_CACHE', 'C:\xampp-portable\htdocs\Store/system/cache/');
define('DIR_DOWNLOAD', 'C:\xampp-portable\htdocs\Store/download/');
define('DIR_LOGS', 'C:\xampp-portable\htdocs\Store/system/logs/');
// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', '$$$$$$');
define('DB_PASSWORD', '$$$$$$$$$');
define('DB_DATABASE', '$$$$$$$$$);
define('DB_PREFIX', 'oc_');
?>
Using the .htaccess that came with 1.5.5.1 without any changes.
This post was marked at solved, but I am struggling with how it was solved. Other than leaving SEO off for local host, any one have any idea how was this resolved.
Blind in one eye, can't see out of the other.
