Show Posts


Messages - Berty

Pages: [1]
1
Development Help Needed / Re: Sudirectory Redirect
« on: January 16, 2015, 01:17:29 AM »
Just as feedback since this thread died without any real solution...
I gave up using a subdomain with www(dot)mydomain(dot)com after wasting too much time on it.

I ended up renaming the subdirectory so it didn't contain fullstops.  (Not what I prefer on my multisite server, but seemingly the easiest way out.)

My advice to others is DO NOT include fullstops in the subdirectory name.  You are just just asking for problems for yourself!

2
Customization help / Re: Links from Category Menu
« on: January 12, 2015, 02:25:44 PM »
I'll see what I can do.  I am not sure if my htacess writing skills are good enough, but I'll give it a try.

3
Customization help / Links from Category Menu
« on: January 12, 2015, 06:28:55 AM »
In one of my categories, I only have one product. 
How do I get a direct link to the product page from the categories navigation menu (and bypass the usual product category page)?

4
Development Help Needed / Re: Sudirectory Redirect
« on: January 09, 2015, 03:43:08 PM »
Possible, but how would I rewrite for that alongside the subdirectory redirect?

Also, where does the string from Settings>Details>Store URL get placed and used?  It seems like the value it is getting ignored value completely.   :'(

5
Development Help Needed / Re: Sudirectory Redirect
« on: January 08, 2015, 07:51:18 AM »
 :-\ :-\
Maybe this is not an htaccess problem anymore??? 
The SEO names are working so it seems the htaccess file(s) are doing *something* ....., but I have found the following error message in my logs .... 


"2015-01-08 4:11:06 - App Warning:  AbanteCart core v.1.1.9 Warning: Accessing store with unconfigured or unknown domain ( mysite.com/www.mysite.com/ ).
 Check setting of your store domain URL in System Settings . Loading default store configuration for now. in /home/myhostname/public_html/www.mysite.com/core/lib/config.php on line 169
"


It doesn't seem to matter what I type in the   System/Store URL   setting in admin.  It is getting ignored each time anyway.  Is there anywhere else where the URL is set? 

I am totally stuck.  Any ideas?

6
Development Help Needed / Re: Sudirectory Redirect
« on: January 07, 2015, 04:43:38 PM »
Thanks for reply.   I have definitely read that part of the manual over and over and anything else I possibly could.  Still no luck.
I should have added, that the SEO friendly label part of things works.  It is just the subdirectory label I can get it to cut off.

Just now, I have tried adding the extra directory name on Rewritebase /  again just as you said
ie: I tried adding both escaped and non-escaped versions before the fullstops too ....

Rewritebase /www\.mysite\.com/
and
Rewritebase /www.mysite.com/
No luck....

If I add or change to Rewritebase in the .htaccess in the subdirectory, I get server 500 errors.
If I add extra to the Rewritebase of root .htaccess, it doesn't seem to change anything (seems to ignore the addition... in fact, I can write anything as the directory name and it ignores it), but the site loads very slowly.

So SEO names work, but the site only loads and shows the base domain URL if I type it in.  Any navigation clicks and the browser goes to the full domain+subdirectory+SEOname URL still.



7
Development Help Needed / Sudirectory Redirect
« on: January 06, 2015, 03:42:11 PM »
For directory organisation reasons, I naively placed my Abantecart site in a subdirectory named the same name as my domain (including fullstops).
ie: So the full website URL is now hxxp://www.mysite.com/www.mysite.com/                  (nb: "http" is modified as forum didn't allow link format)

The site works completely, but I want to use the base domain only.   I thought I could get it to use the base domain by changing the site address in the admin settings, but it doesn't seem to redirect when entering the base domain URL in admin. 

I played with .htaccess, and finally I can now TYPE the base domain and get access to the site at that same URL ... -->hxxp://www.mysite.com (and get the URL to show the same in the browser).

BUT ..... once I click on the site logo, home, categories menu, etc, the browser retrieves the site and shows the URL from the subdirectory again
ie:
 -->hxxp://www.mysite.com/www.mysite.com/   

I have wasted weeks on this now in playing with the htaccess code, but unfortunately I am no expert of htaccess and nothing seems to work.   :-[ 
Could someone please help me?


My base directory .htaccess is this:

RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_URI} !^/www\.mysite\.com/.
RewriteCond %{HTTP_HOST} ^(www\.)?mysite\.
RewriteRule ^(.*)$ \/www\.mysite\.com\/$1 [L]


I also have the following in the subdirectory htaccess file:

# SEO URL Settings
 RewriteEngine On
 RewriteBase /
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L]


The site only works when both complete sets of htaccess code are used.  As soon as I delete any lines of either file, no redirections are possible.
Any help would be GREATLY appreciated.  Thanks!

8
General Support / Re: content/contact
« on: December 26, 2014, 03:11:31 PM »
I am not sure how I missed that.  :o  Thank you so much!       ;D ;D

9
General Support / content/contact
« on: December 26, 2014, 05:08:44 AM »
Hi there....
I am currently formating my email enquiry form.

Could you please help me in finding the php for listing the various fields of the email enquiries page  (ie: content/contact page)?

Also, what is the css file for ContactUsFrm_email, form_description, etc?

Thanks in advance.


10
For me, this problem was not caused by permissions. 
Instead, it was in the .htaccess file.  It was either +FollowSymLinks, or a couple of lines of RewriteEngine commands  (as part of a requirement for a wordpress plugin in the same htaccess file).   

This DEFINITELY was the problem on my system and I tested with and without the extra lines a number of times.  Re-adding the commands stopped the images working every time.

Before editing htaccess, images were not loading and were not being mapped as a resource for categories or products through the resource library manager.  Many images would not upload even with the upload button.
Also, images which were eventually linked as media, would not show up full size when hovering over the small product thumbnails with the mouse.  The image only came up with an empty box and said: "loading ....".  But nothing ever loaded.

Anyhow, start by looking at .htaccess file and delete sections part by part to test.

Hope this helps.

Pages: [1]

Powered by SMFPacks Social Login Mod