Post by muflon » Tue Feb 23, 2010 5:02 pm

I found some problems with language files in development version 1.4.1.

When I swich from English language to Slovak language at frontend of opencart every browser fails to load any page. I get error:"The page cannot be displayed, because it uses an invalid or unsupported form of compression" But when I change Output Compression Level in Administration->settings->server to 0 Everything works fine.

admin/language/english/localisation/country.php

Code: Select all

First Name = {firstname}<br />
Last Name = {lastname}<br />
Company = {company}<br />
Address 1 = {address_1}<br />
Address 2 = {address_2}<br />
City = {city}<br />
Postcode = {postcode}<br />
Zone = {zone}<br />
Zone Code = {zone_code}<br />
Country = {country}</span>';
admin/language/english/setting/shop.php

Code: Select all

$_['entry_http_server']       = 'HTTP_SERVER:<br /><span class="help">Include the full domain name including path. Example: http://www.yourdomain.com/path/.</span>';
$_['entry_http_image']        = 'HTTPS_SERVER:<br /><span class="help">Include the full domain name including path to the image directory. Example: http://www.yourdomain.com/path/image/.</span>';
$_['entry_https_server']      = 'HTTP_IMAGE:<br /><span class="help">Include the full domain name including path. Example: https://www.yourdomain.com/path/.</span>';
$_['entry_https_image']       = 'HTTPS_IMAGE:<br /><span class="help">Include the full domain name including path to the image directory. Example: https://www.yourdomain.com/path/image/.</span>';
should be

Code: Select all

$_['entry_http_server']       = 'HTTP_SERVER:<br /><span class="help">Include the full domain name including path. Example: http://www.yourdomain.com/path/.</span>';
$_['entry_http_image']        = HTTP_IMAGE:<br /><span class="help">Include the full domain name including path to the image directory. Example: http://www.yourdomain.com/path/image/.</span>';
$_['entry_https_server']      = 'HTTPS_SERVER:<br /><span class="help">Include the full domain name including path. Example: https://www.yourdomain.com/path/.</span>';
$_['entry_https_image']       = 'HTTPS_IMAGE:<br /><span class="help">Include the full domain name including path to the image directory. Example: https://www.yourdomain.com/path/image/.</span>';
And I tried to restore data from backup and it didn't work. I get succesful message but no data was restored.

After translating layout of Image manager breaks.

Image

* php 5.3.0
* Apache 2.2.11 (Win32)
* MySQL 5.0.5-dev
* Browser Firefox 3.6
* magic_quotes_gpc Off

Very good relase thank you wery much. I keep testing.

New member

Posts

Joined
Mon Aug 24, 2009 2:43 pm

Post by Daniel » Tue Feb 23, 2010 6:42 pm

i'm gong to set the compression level to 0 by default. i think the problem though is that you have a space in your language file which is causing problems when the system tries to send compressed output.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by muflon » Tue Feb 23, 2010 10:00 pm

Thank you I deleted all white strings from language files and compresion started working.

New member

Posts

Joined
Mon Aug 24, 2009 2:43 pm

Post by Xsecrets » Tue Feb 23, 2010 10:31 pm

slightly off topic where is the best place to discuss 1.4.1?

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by Daniel » Tue Feb 23, 2010 10:54 pm

it was soposed to be intwernal. 1.4.1 is not released yet. the file i uploaded is for testing only.

by the way i can not get the same problem with the file manager. i think it must be down to your languages.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by muflon » Tue Feb 23, 2010 11:56 pm

Daniel wrote: by the way i can not get the same problem with the file manager. i think it must be down to your languages.
I tested it more properly. This problem appear only in Firefox 3.6. In IE8 and chrome everything works fine. I'm attaching my translation file.

New member

Posts

Joined
Mon Aug 24, 2009 2:43 pm

Post by Daniel » Wed Feb 24, 2010 1:37 am

i tested it in 3.6 and it worked.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by muflon » Wed Feb 24, 2010 2:08 am

It is caused by too long translate expressions. I changed it to shorter and everything works fine. I thing the problem should solve enlarge width of file manager's window. This is not critical problem at all it can affect only few people so fixing this isn't necessary.
Thank you for response. And have you tested the problem with restoring database?

New member

Posts

Joined
Mon Aug 24, 2009 2:43 pm

Post by iansane » Wed Feb 24, 2010 12:13 pm

I was playing with 1.4.1 today to test it a bit.

catalog/model/checkout/order.php has a number of errors from removing the url function. If you want a corrected version I can give it to you.

backup/restore doesn't function properly. Are you planning on making the backup/restore able to detect and use backups from 1.4.0 and before?

Newbie

Posts

Joined
Fri Jan 15, 2010 12:31 pm

Post by Daniel » Thu Feb 25, 2010 8:44 am

iansane wrote:I was playing with 1.4.1 today to test it a bit.

catalog/model/checkout/order.php has a number of errors from removing the url function. If you want a corrected version I can give it to you.

backup/restore doesn't function properly. Are you planning on making the backup/restore able to detect and use backups from 1.4.0 and before?
ok fixed these 2 things.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by muflon » Thu Feb 25, 2010 8:40 pm

Small things to fix

\admin\language\english\common\footer.php
New year 2010

Code: Select all

$_['text_footer'] = '<a href="http://www.opencart.com">OpenCart</a> &copy; 2010 All Rights Reserved.';
It is possible to add string in image pop up to language files?
Image

Btw. Daniel have you tried git for version system control? It can solve a lot of problems Testing the system could be done during the development.

New member

Posts

Joined
Mon Aug 24, 2009 2:43 pm

Post by hottiger » Thu Feb 25, 2010 11:24 pm

muflon wrote:Small things to fix

\admin\language\english\common\footer.php
New year 2010

Code: Select all

$_['text_footer'] = '<a href="http://www.opencart.com">OpenCart</a> &copy; 2010 All Rights Reserved.';
.
probably better to change it to:

Code: Select all

date('Y');

New member

Posts

Joined
Tue Jan 05, 2010 3:00 am
Location - United Kingdom

Post by muflon » Fri Feb 26, 2010 7:30 am

How long will be 1.4.1 in this developing phase? Are there any things which need to be implement?

New member

Posts

Joined
Mon Aug 24, 2009 2:43 pm

Post by Daniel » Fri Feb 26, 2010 9:00 am

i will get it out ths weekend. i have fixed a lot fo stuff.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by OSWorX » Fri Feb 26, 2010 3:38 pm

Daniel wrote:i will get it out ths weekend. i have fixed a lot fo stuff.
A changelog or status update (what has been done) would be very nice.
Maybe you start once acting as a developer?

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by cpanelhosting » Sat Feb 27, 2010 7:54 am

Order status update emails are all comming from the main store,
should they not rather be comming from the multi-store store?
Also email notifications are not going through to the customer on placement of order

Newbie

Posts

Joined
Fri Feb 26, 2010 8:07 pm

Post by Daniel » Sat Feb 27, 2010 7:59 am

maybe an idea.

sort ing this stuff out now.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by i2Paq » Sat Feb 27, 2010 3:46 pm

cpanelhosting wrote:Also email notifications are not going through to the customer on placement of order
Same here, all mails are working except the order-confirmation.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by SuperJuice » Sat Feb 27, 2010 5:12 pm

Bug #1
I have had the following when using guest checkout on Step 2.

Warning: Division by zero in /var/www/opencart/system/library/weight.php on line 38

If you follow the logic of the code, it can very easily drop into a 'division by zero'.
if (isset($this->weights[strtolower($to)])) {
$to = $this->weights[strtolower($thttp://forum.opencart.com/posting.php?mode=edit&f=31&p=55893o)]['value'];
} else {
$to = 0;
}

return $value * ($from / $to);
-edit- remove thoughts, will keep them to myself


Bug #2:
If you have an item that has Status: Enabled and Out Of Stock Status: 'Out of Stock', it still displays as 'Availability: In Stock' when you actually browse the shop.

Tested with Palm Treo Pro on default 1.4.1 dev install.

Active Member

Posts

Joined
Thu Aug 13, 2009 12:06 pm

Post by twiggy » Sat Feb 27, 2010 6:46 pm

Small bug in the interface,

In Firefox 3.6 the language box drops under the currency box. Seems fine in IE8.

Active Member

Posts

Joined
Fri Aug 14, 2009 4:43 am

Who is online

Users browsing this forum: Bing [Bot] and 5 guests