Post by yachzo » Mon Dec 12, 2011 4:59 am

Hello I noticed a problem with my cart in the header when I turn on SEO Urls. The cart displays 0 items after clicking on a SEO friendly link (ie. http://indooreden.net/Lighting), but returns when I click a non SEO link(ie. http://indooreden.net/index.php?route=checkout/cart). I have the SEO urls turned off for now, but the cart will still display 0 products if I navigate to the root (ie. http://indooreden.net). It works perfect on my testing server http://eden2.starvingeye.com (1and1 hosting) but not on the live server http://indooreden.net (ipage hosting). Anyone have any ideas?

Newbie

Posts

Joined
Mon Dec 12, 2011 4:44 am

Post by uksitebuilder » Mon Dec 12, 2011 5:16 am

and if you switch to the default template, it continues to happen ?

Your template also does not seem to be fully SEO URL compatible.

Also your SEO URLs have spaces in them which is not a good idea.

User avatar
Guru Member

Posts

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

Post by yachzo » Mon Dec 12, 2011 5:36 am

I switched to the default template and I have the same problems. The version on the testing server has the same urls and i dont have the problems.

Newbie

Posts

Joined
Mon Dec 12, 2011 4:44 am

Post by yachzo » Mon Dec 12, 2011 5:46 am

also what makes my template not SEO url compatible?

Newbie

Posts

Joined
Mon Dec 12, 2011 4:44 am

Post by yachzo » Mon Dec 12, 2011 12:40 pm

I solved it! With Ipage hosting you have to set your sessions.save_path to your /tmp directory (in my case it was sessions.save_path = /home/users/web/b556/ipg.username/cgi-bin/tmp ) in my php.ini file. Hope that helps anyone else who uses ipage hosting.

Newbie

Posts

Joined
Mon Dec 12, 2011 4:44 am

Post by uksitebuilder » Mon Dec 12, 2011 3:34 pm

I was looking at the featured products on your homepage, but it may be you havent got around to adding SEO Keywords to them yet.

User avatar
Guru Member

Posts

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

Post by yachzo » Mon Dec 12, 2011 9:49 pm

Yeah I didn't add SEO urls to all of my products yet. Since it's still not getting a ton of traffic, I will update those with the next price update. Thx for the response.

Newbie

Posts

Joined
Mon Dec 12, 2011 4:44 am

Post by JackDavis » Tue Jul 24, 2012 7:58 pm

Fantastic! I use iPage and have been tearing my hair out for the last three hours trying to figure it out, thanks a lot for sharing man!

Although it is session.save_path not sessions.save_path.

Cheers!

Jack

Destrove is a professional Web Development, SEO, Marketing and eCommerce company based in Lincoln, UK that specialises in OpenCart Development.
http://www.destrove.com
We now offer a specialised OpenCart Web Hosting Service at great rates, hosting clients get discounted OpenCart Development! http://www.destrove.com/services/opencart-web-hosting


New member

Posts

Joined
Sun Jan 15, 2012 1:29 am
Location - Lincoln, UK

Post by effossixy » Sun Nov 25, 2012 12:28 am

JackDavis wrote:Fantastic! I use iPage and have been tearing my hair out for the last three hours trying to figure it out, thanks a lot for sharing man!

Although it is session.save_path not sessions.save_path.

Cheers!

Jack
I am having the same issue with ipage and opencart, can't get myself to make the canonical links work.
I have modified the .htaccess file to :

Code: Select all

Options +FollowSymlinks

# Prevent Directoy listing 
Options -Indexes

# Prevent Direct Access to files
<FilesMatch "\.(tpl|ini|log)">
 Order deny,allow
 Deny from all
</FilesMatch>

# SEO URL Settings
RewriteEngine On

RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

### Additional Settings that may need to be enabled for some servers 
### Uncomment the commands by removing the # sign in front of it.
### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that.

# 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it:
# php_flag register_globals off

# 2. If your cart has magic quotes enabled, This may work to disable it:
# php_flag magic_quotes_gpc Off

# 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try
# php_value upload_max_filesize 999M

# 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value post_max_size 999M

# 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_execution_time 200

# 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_input_time 200

# 7. disable open_basedir limitations
# php_admin_value open_basedir none
But it is still not working. The php.ini file itself is not working as whenever I activate it the site stops working so Ive had to remove it (and that's what ipage's customer service told me to do). Is that the issue?
Also I have the shop in a subdomain xxxx.mysite.com which is directly linked to subdirectory /mysite/xxxx so I don't know if issue has anything to do with that.

Please let me know how to fix that as Ive been going all day crazy with that.

Thank you

Newbie

Posts

Joined
Sun Nov 25, 2012 12:04 am
Who is online

Users browsing this forum: No registered users and 222 guests