Community Forums

Upgrading Extensions from 1.4.7 -> 1.4.8

Support for mods, payments, shipping, totals, modules, and languages in OpenCart v1.x

Upgrading Extensions from 1.4.7 -> 1.4.8

Postby Qphoria » Sat Jun 12, 2010 6:34 pm

The only major update that should affect extensions in 1.4.8 is the new admin token system.

Unfortunately, because there is no longer a url class, each individual url in the admin section must have the token appended to it.

The easiest way to do it is to do a Global Find/Replace on the "admin" folder of any extension.

BE SURE YOU ARE ONLY WORKING IN THE "ADMIN" FOLDER OF MODS & EXTENSIONS! THE TOKEN SHOULD NOT BE ADDED TO FILES THAT GO IN THE "CATALOG" FOLDER


FIND:
Code: Select all
index.php?route

REPLACE WITH:
Code: Select all
index.php?token=' . $this->session->data['token'] . '&route


You will need a good text editor like Notepad++ that has a "Find In files/Replace in Files" feature. The dialog would look like this:
Image

That would change all links from
index.php?route=extension/payment'

to
index.php?token=' . $this->session->data['token'] . '&route=extension/payment'

Then they would be 1.4.8 compatible
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18212
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: Upgrading Extensions from 1.4.7 -> 1.4.8

Postby peteVA » Sat Jun 12, 2010 11:53 pm

OK, did that.

And where before the offline CC settings were not sticking in the Extensions/Payments page, now they do.

And where the option was not showing at closeout, now it does.

Thanks!
User avatar
peteVA
 
Posts: 529
Joined: Mon Jul 20, 2009 12:25 am

Re: Upgrading Extensions from 1.4.7 -> 1.4.8

Postby flairtek » Mon Jun 14, 2010 3:35 pm

Fatal error: Call to a member function getLanguages() on a non-object in /home/shopreva/public_html/cart/catalog/controller/module/mymodule.php on line 11
flairtek
 
Posts: 23
Joined: Mon Jun 14, 2010 2:28 pm

Re: Upgrading Extensions from 1.4.7 -> 1.4.8

Postby Qphoria » Mon Jun 14, 2010 3:42 pm

flairtek wrote:Fatal error: Call to a member function getLanguages() on a non-object in /home/shopreva/public_html/cart/catalog/controller/module/mymodule.php on line 11


This is a mymodule issue
viewtopic.php?f=22&t=10083&start=15#p77243
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18212
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: Upgrading Extensions from 1.4.7 -> 1.4.8

Postby hireconor » Tue Jun 22, 2010 2:35 pm

Does the Offline CC mod split the CC # between server and email now to make it PCI compliant?
User avatar
hireconor
 
Posts: 20
Joined: Mon Mar 15, 2010 1:31 am

Re: Upgrading Extensions from 1.4.7 -> 1.4.8

Postby dada » Thu Jul 08, 2010 12:19 pm

Hello.

I've tried to follow instructions and upgrade web2pay extension from 1.4.7 to 1.4.8, but something is still not right.
When i try to enable or change and save any settings on the extension i'm just forwarded to dashboard page with no errors or something. I wrote my problem on forum here http://forum.opencart.com/viewtopic.php?f=113&t=16943 .

I've attached files, could you please take a look at it. Thanks.
Attachments
Open-Cart-1.4.7-WebToPay-2010-05-07 (2).zip
Original 1.4.7 extension
(17.46 KiB) Downloaded 299 times
dada
 
Posts: 12
Joined: Thu Jul 01, 2010 5:08 pm

Re: Installing Earthball in Open Cart

Postby barbiesam » Tue Jan 03, 2012 5:52 pm


Can someone out here help me to install earthball in my Open Cart. I have the latest version of Open Cart and I have already installed it but getting errors........It is about a 10 minute job. HELP
thnx guys
Barb (newbie)
barbiesam
 
Posts: 2
Joined: Mon Jul 12, 2010 3:39 pm

Re: Upgrading Extensions from 1.4.7 -> 1.4.8

Postby veerji » Thu Sep 27, 2012 12:07 pm

I am very interested in MultiSeller Solution for Mixed Product Shop, and you want to send e-mail exchange.
"steward"
veerji
 
Posts: 2
Joined: Thu Sep 27, 2012 12:01 pm

Re: Upgrading Extensions from 1.4.7 -> 1.4.8

Postby reticlesystems » Sat Feb 09, 2013 8:23 pm

Hello there..

How can i upgrade the free plugin at the repositry of oc called "Wholesale price list" for 1.5.5.?
reticlesystems
 
Posts: 31
Joined: Tue Dec 25, 2012 2:40 am


Return to Extension Support

Who is online

Users browsing this forum: fma1955 and 4 guests

Hosted by Arvixe Web Hosting