Post by robeam » Sun Nov 16, 2008 6:13 am

This is something that's been driving me mad for a few days. In google code the problem was reported as being fixed 4 days ago. The version i am running here locally is a month old and shows the fix to be already implemented but its not working.

Fix was to use 'get' rather than 'gethtml' in admin/controller/product.php on a few lines. My version of this file was already using 'get' ?

Anyone offer any help on this ?

Cheers

A

Newbie

Posts

Joined
Thu Oct 09, 2008 6:39 pm

Post by Qphoria » Sun Nov 16, 2008 6:29 am

There are many fixes on fixes for this. the gethtml to get thing was a fix after another fix that fixed it so you really need to get the latest svn version for all the fixes in one.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by robeam » Mon Nov 17, 2008 5:29 am

Hi, are you suggesting I get the latest version of product.php or Opencart as a whole ?

Thanks

A

Newbie

Posts

Joined
Thu Oct 09, 2008 6:39 pm

Post by Qphoria » Mon Nov 17, 2008 6:08 am

yes if possible

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by robeam » Mon Nov 17, 2008 6:19 am

Replacing opencart as a whole is going to be right royal pain as I have fiddled with a lot of it. Can you suggest an alternative ? Is it just the admin section ? That would save me some time...

Thanks

Just taking a look at the latest version of the code and the whole structure is different its going to be a mammoth task to change over now. Any ideas?
Last edited by robeam on Mon Nov 17, 2008 6:47 am, edited 1 time in total.

Newbie

Posts

Joined
Thu Oct 09, 2008 6:39 pm

Post by Qphoria » Mon Nov 17, 2008 10:19 am

Sorry,

In v0.8 we are looking at some sort of separate override folder which will keep all modified files separate from the core files to help make upgrading easier, but for now you might need to try replacing the main folders at a time. You can probably leave the template folder alone but some of the major files like:

/library/
/catalog/controller/
/catalog/extension/
/install/
/admin/

are going to have a lot of changes

Then run the install/upgrade.php script
From there, you can try replacing or merging your changes in those files to the new ones

BE SURE TO BACK UP FILES AND DATABASE FIRST

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by jty » Mon Nov 17, 2008 11:38 am

Viart has a way where the original files are kept in one folder and modified files in another
If the file is in the modified files folder, it uses that. If there is no copy of that file in the modified files folder, it goes looking in the original files folder.

I think it was only for templates but I can't remember for sure. It was a long time ago and my memory of Viart is dim.

jty
Active Member

Posts

Joined
Sat Aug 30, 2008 8:19 am

Post by Qphoria » Mon Nov 17, 2008 11:49 am

OpenCart has it too :)
It's called: "Another, Better, even simpler Override Idea"

Everything gets put into the "contrib" folder tree and overrides only if it exists
Last edited by Qphoria on Mon Nov 17, 2008 12:43 pm, edited 1 time in total.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by robeam » Mon Nov 17, 2008 10:35 pm

Qphoria wrote: Sorry,

In v0.8 we are looking at some sort of separate override folder which will keep all modified files separate from the core files to help make upgrading easier, but for now you might need to try replacing the main folders at a time. You can probably leave the template folder alone but some of the major files like:

/library/
/catalog/extension/
/install/
/admin/

THANKS !!
Changed just the above and its worked. thanks again.

A

Newbie

Posts

Joined
Thu Oct 09, 2008 6:39 pm
Who is online

Users browsing this forum: No registered users and 6 guests