Page 2 of 15

Re: OpenCart 1.5.5 Bug Thread

Posted: Wed Jan 23, 2013 5:32 pm
by itnetfluence
Daniel wrote: For someone who earns every day a lot of money with the selling of extensions you talking nonsens!
you are a moron! you have no idea how hard it is to get a open source script to run across multiple web servers and make it upgrade perfectly for everyone.

the problem is not languages its 3rd party extensions that use short cuts by dumping all the language vars into the templates. i never added this feature. qphoria added it. i didn't realizes so many people where using it when i removed it.

any way your banned! i think this is your second ban as i seem to remember you banned before after going mental because i would not use your code.[/quote]

Totally agree with you.

but hope there is a way to know before you make any changes... took me some time to learn github. lol

Re: OpenCart 1.5.5 Bug Thread

Posted: Wed Jan 23, 2013 5:33 pm
by ksharlandjiev
Fresh installation of 1.5.5.1, clicked on "Login to your Administration" on the final step of the install.
The "Forgotten Password" link doesn't work. It keep redirecting me to admin/index.php?route=common/home

Re: OpenCart 1.5.5 Bug Thread

Posted: Wed Jan 23, 2013 6:08 pm
by daik01
By fresh install you have to rename config-dist.php in the root and admin folder. This was not common in other versions.
Is it possible to automate that by fresh installs?

Re: OpenCart 1.5.5 Bug Thread

Posted: Wed Jan 23, 2013 7:15 pm
by Daniel
just added another fix to the upgrade script:

https://github.com/opencart/opencart/co ... 5033cd3d87

don't reduce Store Credit

Posted: Wed Jan 23, 2013 9:11 pm
by bigboss
At backend, tried to edit an order and use the credits with status update to "complete".
But the store credits was not reduced in the credit transaction. At frontend, user can still use the credit.

When user spend the credit and confirmed the order. If the admin try to modify the order at backend and re-calculate the order, then the credit will be ignored and the total amount is increased due to the creidt has been removed by system.
However, the credit don't refund back to user credit account.

Re: OpenCart 1.5.5 Bug Thread

Posted: Wed Jan 23, 2013 9:45 pm
by Daniel
you need to make sure the customers order status reaches the complete status before they are subtracted.

i need to look in to the other stuff at a later date. i'm not jumping around checking this now. you can manually edit the customers credit when you are editing the orders.

Re: OpenCart 1.5.5 Bug Thread

Posted: Thu Jan 24, 2013 2:31 am
by bull5-i
Non english support is broken in the current 1.5.5.1 version. If I were to change the admin language to a non-english language (for example to German, that I have installed) I would get the following error:

Notice: Error: Could not load language german! in C:\wamp\www\oc155\system\library\language.php on line 37

This below proposed fix does indeed work.
JNeuhoff wrote:
Daniel wrote:i don;t see how it can break non english languages. make sure you are saving the files as utf8
Actually, I do! It seems indeed to break non-English language uses:

The system/library/language.php should look like this for the method load:

Code: Select all

	public function load($filename) {
		$file = DIR_LANGUAGE . $this->default . '/' . $filename . '.php';
    	
		if (file_exists($file)) {
			$_ = array();
	  		
			require($file);
		
			$this->data = array_merge($this->data, $_);
		} else {
			trigger_error('Error: Could not load language ' . $filename . '!');
		}
		
		if ($this->directory != $this->default) {
			$file = DIR_LANGUAGE . $this->directory . '/' . $filename . '.php';
		
			if (file_exists($file)) {
				$_ = array();
	  		
				require($file);
		
				$this->data = array_merge($this->data, $_);
			}
		}
  	}
The default English language file always needs to be loaded first, it serves as a default language fallback. Then the corresponding non-English language file is loaded and overrides the language variables with the non-English counterparts.

Also, if we don't want to break 3rd party addons ( such as Q's Paypal Recurring module ;) ), it would also be nice to have it ended with a proper return statement:

Code: Select all

		return $this->data;

Maintenance Mode SEO Urls

Posted: Thu Jan 24, 2013 3:47 am
by rdvapors
Has anyone else having problems getting our of maintence mode or SEO Urls off? I can not get out of maintenance mode and turn off SEO Urls. I save the settings but go back in and they are not changed.

Re: OpenCart 1.5.5 Bug Thread

Posted: Thu Jan 24, 2013 4:02 am
by DonMucios
Can not checkout an cart with pre-order product inside.
Is not working on demo.opencart.com site too so it's an old problem i think

Thank you.

Re: OpenCart 1.5.5 Bug Thread

Posted: Thu Jan 24, 2013 4:11 am
by maxxon
1.5.5.1 Tryin to change sort order of subcategory in backend. It doesn't changes at categories list.
Is anyone else have this problem?

Re: OpenCart 1.5.5 Bug Thread

Posted: Thu Jan 24, 2013 10:54 am
by Daniel
DonMucios wrote:Can not checkout an cart with pre-order product inside.
Is not working on demo.opencart.com site too so it's an old problem i think

Thank you.
whats a pre-order?

Re: OpenCart 1.5.5 Bug Thread

Posted: Thu Jan 24, 2013 10:56 am
by Daniel
maxxon wrote:1.5.5.1 Tryin to change sort order of subcategory in backend. It doesn't changes at categories list.
Is anyone else have this problem?
its supposed to work that way. its a limitation on hvaing categories in a hierarchical data system and being paged

it will work on the front end though.

Re: OpenCart 1.5.5 Bug Thread

Posted: Thu Jan 24, 2013 2:37 pm
by DonMucios
Daniel wrote:
DonMucios wrote:Can not checkout an cart with pre-order product inside.
Is not working on demo.opencart.com site too so it's an old problem i think

Thank you.
whats a pre-order?
Product with Availability: Pre-Order.
If i want a product that can be purchased with quantity 0 and out of stock status Pre-Order or 2-3 Days can not do this , in the cart says "Products marked with *** are not available in the desired quantity or not in stock!" and can't continue with checkout, or i'm missing some option to that product?

Re: OpenCart 1.5.5 Bug Thread

Posted: Thu Jan 24, 2013 6:10 pm
by Daniel
there are setting on the admin setting page as well as product page for allowing checkout for out of stock items.

Re: OpenCart 1.5.5 Bug Thread

Posted: Thu Jan 24, 2013 8:35 pm
by ADD Creative
Pamella wrote:Something wrong with tag(s), is not ?

My 'Example' tag link to index.php?route=product/search&tag=Example but... "There is no product that matches the search criteria." !

Any idea about how to fix it ;-) like with v1.5.4.1 may be ?
I've had this as well.

If you add a tag to a product then click on the the tag on the product page, no search results appear. This is not tthe same bug as 1.5.4.

A quick look at the code and some of the occurrences of 'filter_tag' have been renamed to 'tag' but not all. so the URL has &tag= but getProducts in catalog\model\catalog\product.php is expecting &filter_tag=.

Review Tab Double Date

Posted: Fri Jan 25, 2013 12:53 am
by rdvapors
The review tab is showing the date twice. Any ideas on this?

Admin Settings Not Staying

Posted: Fri Jan 25, 2013 12:54 am
by rdvapors
In the Admin>>Settings>>Server any settings you change do not take. Any ideas on this?

Re: Admin Settings Not Staying

Posted: Fri Jan 25, 2013 1:11 am
by JNeuhoff
rdvapors wrote:In the Admin>>Settings>>Server any settings you change do not take. Any ideas on this?
Unable to reproduce in OpenCart 1.5.5.1. Post it as a General Support request, with more details on how to reproduce it.

Re: Review Tab Double Date

Posted: Fri Jan 25, 2013 1:16 am
by JNeuhoff
rdvapors wrote:The review tab is showing the date twice. Any ideas on this?
Unable to reproduce your error on a OpenCart 1.5.5.1.

Re: OpenCart 1.5.5 Bug Thread

Posted: Fri Jan 25, 2013 6:51 am
by SelfMan
gob33 wrote:[OC 1.5.5.1 fresh install with no extensions]
I confirm as others that a non-english language break OC at line 37.
This is because you forgot a

Code: Select all

return $this->data;
inside language class. Compare this file on 1.5.5.1 and 1.5.4.1
As there is no return, the process continue and try to find french.php inside the english dir.
DUDE Sorry, but you are so ignorant... Have you read what people have posted before you, you wouldnt have to write the same stuff all again.

And I have only 3 words for those who cry that they lost money because of an upgrade - YOU ARE STUPID
Why? Because you should NEVER UPGRADE a live store WITHOUT TESTING!!!

Thats a job the WAMP is for.
This is off topic, but I had to say it...

@Daniel - You should put this "upgrade note" on the download page...