Post by wijnendael » Sun Apr 28, 2013 12:12 am

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
Last edited by wijnendael on Thu May 02, 2013 1:39 am, edited 1 time in total.

User avatar
Active Member

Posts

Joined
Thu Jan 20, 2011 5:09 am
Location - Usa

Post by butte » Sun Apr 28, 2013 1:38 am

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.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by wijnendael » Sun Apr 28, 2013 2:23 am

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.

User avatar
Active Member

Posts

Joined
Thu Jan 20, 2011 5:09 am
Location - Usa

Post by victorj » Sun Apr 28, 2013 2:29 am

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

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by madimar » Sun Apr 28, 2013 4:31 am

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

-----------------------------------------------------------------------
My last mods: Partita IVA e CF | Pro EU VAT Number | Sales Agents | Pricelist Pro
-----------------------------------------------------------------------


User avatar
Active Member

Posts

Joined
Thu Sep 24, 2009 6:27 pm


Post by butte » Sun Apr 28, 2013 4:58 am

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.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by victorj » Sun Apr 28, 2013 5:51 am

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

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by madimar » Sun Apr 28, 2013 6:50 am

Victory, I didn't know ampps... I will try maybe!
Regards,

M

-----------------------------------------------------------------------
My last mods: Partita IVA e CF | Pro EU VAT Number | Sales Agents | Pricelist Pro
-----------------------------------------------------------------------


User avatar
Active Member

Posts

Joined
Thu Sep 24, 2009 6:27 pm


Post by rph » Sun Apr 28, 2013 10:39 am

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).

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by madimar » Wed May 01, 2013 4:43 pm

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.

-----------------------------------------------------------------------
My last mods: Partita IVA e CF | Pro EU VAT Number | Sales Agents | Pricelist Pro
-----------------------------------------------------------------------


User avatar
Active Member

Posts

Joined
Thu Sep 24, 2009 6:27 pm


Post by victorj » Wed May 01, 2013 5:29 pm

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.

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by rph » Wed May 01, 2013 10:37 pm

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.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by wijnendael » Thu May 02, 2013 1:39 am

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

User avatar
Active Member

Posts

Joined
Thu Jan 20, 2011 5:09 am
Location - Usa

Post by rph » Thu May 02, 2013 12:45 pm

Make sure your RewriteBase is set up correctly.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by ocnewbie » Sun Jan 05, 2014 1:52 am

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

Local-Host-Category-Page.png (258.68 KiB) Viewed 4104 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. ???

Thanks,
Verne
OpenCart 1.5.5.1
Rustic Interior Outfitters


Newbie

Posts

Joined
Tue Mar 05, 2013 2:36 am
Who is online

Users browsing this forum: Baidu [Spider] and 31 guests