Post by martinvarsano » Thu Jan 30, 2020 1:33 am

Hello everybody!

First of all, thanks so much for all the help of this great community. You are a life-saver for many people (like me). ;D

Easy question: Every time I do a search on the site, I have an error related to the path of the result. For example: I look for the term "soccer" and the site tries to reach an invalid URL, because the slash is missing. So I see in the URL bar "https://www.partyprintables2go.comindex ... rch=soccer", instead of "https://www.partyprintables2go.com/inde ... rch=soccer" that would be the correct link, since the slash is present between the site and the index.php.

Hope that makes sense :)

I am using Opencart 2.2.0.0.
I have another site running on Opencart 3, and this problem is not present there, so I assume is related to Opencart 2

Any clues?
Thanks a lot!

Newbie

Posts

Joined
Sat Sep 17, 2016 6:53 am

Post by xxvirusxx » Thu Jan 30, 2020 2:38 am

Check you front config

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by martinvarsano » Thu Jan 30, 2020 9:54 am

Hi! Could you please elaborate a little bit more? What it is that I need to check on the config.php? Looks fine to me, but what do I know! :)

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'http://www.partyprintables2go.com/');

// HTTPS
define('HTTPS_SERVER', 'https://www.partyprintables2go.com/');

// DIR
define('DIR_APPLICATION', '/home/martinv/public_html/partyprintables2go/catalog/');
define('DIR_SYSTEM', '/home/martinv/public_html/partyprintables2go/system/');
define('DIR_IMAGE', '/home/martinv/public_html/partyprintables2go/image/');
define('DIR_LANGUAGE', '/home/martinv/public_html/partyprintables2go/catalog/language/');
define('DIR_TEMPLATE', '/home/martinv/public_html/partyprintables2go/catalog/view/theme/');
define('DIR_CONFIG', '/home/martinv/public_html/partyprintables2go/system/config/');
define('DIR_CACHE', '/home/martinv/public_html/partyprintables2go/system/storage/cache/');
define('DIR_DOWNLOAD', '/home/martinv/public_html/partyprintables2go/system/storage/download/');
define('DIR_LOGS', '/home/martinv/public_html/partyprintables2go/system/storage/logs/');
define('DIR_MODIFICATION', '/home/martinv/public_html/partyprintables2go/system/storage/modification/');
define('DIR_UPLOAD', '/home/martinv/public_html/partyprintables2go/system/storage/upload/');
Thanks a lot!
Last edited by straightlight on Tue Feb 04, 2020 4:57 am, edited 1 time in total.
Reason: Added code tags.

Newbie

Posts

Joined
Sat Sep 17, 2016 6:53 am

Post by xxvirusxx » Thu Jan 30, 2020 2:45 pm

Change this
define('HTTP_SERVER', 'http://www.partyprintables2go.com/');

in this
define('HTTP_SERVER', 'https://www.partyprintables2go.com/');

Check same in admin config...and try to disable .htaccess to see if work.

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by martinvarsano » Tue Feb 04, 2020 1:18 am

Hi! Thanks for the reply.

Did what you told me, adding the "s" on http and disabling the .htaccess (just renamed to .htaccess.old, hope that do the trick) but the search result still has no slash after the site name and the index.php: https://www.partyprintables2go.comindex ... earch=army

Newbie

Posts

Joined
Sat Sep 17, 2016 6:53 am

Post by johnp » Tue Feb 04, 2020 4:52 am

Just a punt but check your .htaccess file ReweiteBase location is correct.

RewriteBase /partyprintables2go/

Not:

RewriteBase /partyprintables2go

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by uksitebuilder » Tue Feb 04, 2020 6:23 am

If your store is accessed at your domain's root then RewriteBase should be:

RewriteBase /

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom
Who is online

Users browsing this forum: Amazon [Bot] and 28 guests