Jump to content

[solved] 1.5.6 Update hell


Recommended Posts

After upgrading to the latest version, which I must say has taken hours and there have been many headaches!

 

The two main poblems I'm left with now are...

 

A) Homepage slider images not showing up.

 

The images show up in the back office ok but the images on the homepage seem to be missing the image name...

<img width="535" height="300" alt="Cat feeder" src="/modules//homeslider/images/">

 

B) Default Language not working.

 

Dispaite the fact that the backoffice shows the default language to be UK English, all the frontoffice stuff is displaying the US English content. For the CMS stuff I've copied all the contect from the UK to the US language and it shows up but I don't want to have to do that for all the product descriptions, which currently are not showing as there is noting in the US content.

 

I've triend clearing the cashe, disabeling the cashe, removing all the files from smarty folder but there are a few lest because I get this error.

 

550 Could not delete /cache/smarty/compile/94/a4/ec/94a4eced0b88c631f538e075044f296f6199342f.file.blockcms.tpl.cache.php: No such file or directory.

 

So I've renamed that and created a new folder with just the index.php file.

 

Tried changing the homeslider directory to 777 and back to 755 with no difference, uploaded the old homeslider folder from my last stable version and that did not work. Tried uninstalling the homeslider and reinstalling it... Still not joy...

 

Reset cookies, cleared everything from multiple browsers and even tried on mobile phone over different network. All with the same results.

 

Just about out of ideas now.

 

Site affected

http://purrfecthomes.co.uk/

 

Link to comment
Share on other sites

re Default Language not working.

 

if your browser language is defined to your shop, BUT different from your 'default language', you will see front office in the language of your browser.

 

that is new 'actually working' in 1.5.6

 

 

as for other questions----

 

if you don't get resolution to all questions in this post...then for best results create new forum  topic for each...

 

chin up...1.5.6...freaking rocks...so in the end...it will be worth the effort

Link to comment
Share on other sites

Well my browser language is en-gb so I should be seeing the site in UK English. Which I am not. How do I dissable this new 'feature' as the last thing I want is someone with a US browser to see my site broken!

 

the way it detects the browser language is on the first two characters of the browse language.

 

'en' is the iso code for American English. 

 

'gb' is the iso code for UK English.

 

so that is 'most' likely the reason you see in American English...

 

you can turn off this 'important' feature

 

classes/Cookie.php

$this->detect_language = true;

set as follows:

$this->detect_language = false;
Link to comment
Share on other sites

Well I just disabled the US language and it fixed both problems! Not quite sure why the language would affect the images on the slider as well. So now I only have one language it should be fine... Hopefully. 

 

 

the way it detects the browser language is on the first two characters of the browse language.

 

'en' is the iso code for American English. 

 

'gb' is the iso code for UK English.

 

 

Well if that is the way it detects languages then it is wrong. en-us = American un-gb = Great Britain.

http://www.metamodpro.com/browser-language-codes

So I guess that's a bug. There are quite a few languages that have multiple sub languages like French & Spanish. I guess it would get them wrong too.

Link to comment
Share on other sites

Guess so but I think that 'unimportant for most' feature should have an easy way to toggle it on and off in the admin. Then again you can't even turn debugging on and off in the admin so not surprised.

Think this software is still quite a way off what I would call a production bit of software, may have to look for another solution unless it progresses rapidly. Which is a same because it has some nice bits...

Link to comment
Share on other sites

upgrading even for experienced folks...well can be a night mare....many have someone else upgrade it...I probably will upgrade from 1.4.6.2 but will pay someone like bellini13 to do it...:)

 

one reason there is no back office setting for say enabling errors, if one can not access the back office...then sort of moot...

 

as for language...yes, it could use a little upgrade...on my things to do unless someone does it before me.

Link to comment
Share on other sites

I think this might solve the issue of en-en | en-gb

 

http://forge.prestashop.com/browse/PSCFV-10876

 

I've tested and it would use en-gb when my browser (first setting was en-gb) as well as en-en...

 

it appears to still only use the first language passed in HTTP_ACCEPT_LANGUAGE but it's an improvement that you many want to apply.  You will need to add the ietf language tag for each language in 'Lanugage Code'  Note: disregard the gb disabled, as this was during one of my tests.

11.13.2013-13.11.png
http://screencast.com/t/ngeEV5mjnHaS

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...