Exclusive eBooks, Software Solutions, Quality Guaranteed
 
Web NukeBiz
Welcome to NukeBiz · Members
Amazon
show cart or checkout0 items
Cart Value: 0.00

Forums » DragonflyCMS Projects » BizStore » [fixed] Changing Associates ID US
[fixed] Changing Associates ID US
Amazon shop, integrated Google adsense, price check, ECS4 feeds.
Topic initiation via Bugger.

Post new topic    Reply to topic    Printer Friendly Page     Forum Index »  eCommerce » BizStore

View previous topic :: View next topic  
Author Message
Dizfunkshunal
Operator
Operator

Offline Offline
Joined: May 26, 2007
Posts: 69

PostPosted: Wed Oct 05, 2011 3:27 pm
Post subject: [fixed] Changing Associates ID US

Hello, been awhile. Ok installed DF 9.3 and Amazon(Bizstore) 9.3 Everythnig works fine except I cant change Associates ID US. Changed the keys just fine no problem. just the Id wont change when i click update. No errors are showing either. Any Ideas?

_________________
DizWebDesign

Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mulitple server setups/ DF9 and 10
Back to top
View user's profile Visit poster's website
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 17, 2004
Posts: 1543
Location: Netizen
PostPosted: Wed Oct 05, 2011 3:51 pm
Post subject: Re: Changing Associates ID US

yep, sorry about that - replace line 20 of admin/index.inc
Code::
		$sections = array('bizstore' => array('googleads', 'googleadclient','locale', 'assocIDus', 'assocIDca', 'assocIDujk', 'assocIDde', 'assocIDfr', 'assocIDjp', 'accessID', 'secretID', 'showBuyCart', 'cookie', 'welcome', 'welcomeMSG', 'mainpage', 'mainpageIndex', 'mainpageNode', 'pcActive', 'pcID')


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
Dizfunkshunal
Operator
Operator

Offline Offline
Joined: May 26, 2007
Posts: 69

PostPosted: Wed Oct 05, 2011 4:17 pm
Post subject: Re: [fixed] Changing Associates ID US

np When I replace that line 20 code with the above i get

Parse error: syntax error, unexpected ';', expecting ')' in /home/carlg/public_html/modules/BizStore/admin/index.inc on line 20


When I view Bizstore admin page.

I added the ; to the end

Edit: I use phpdesigner. its saying its a mixed array not sure what that means but hope it helps.

_________________
DizWebDesign

Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mulitple server setups/ DF9 and 10
Back to top
View user's profile Visit poster's website
Dizfunkshunal
Operator
Operator

Offline Offline
Joined: May 26, 2007
Posts: 69

PostPosted: Wed Oct 05, 2011 4:24 pm
Post subject: Re: [fixed] Changing Associates ID US

Got it it need another ")" before the ";" at the end. Thanks a lot!

_________________
DizWebDesign

Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mulitple server setups/ DF9 and 10
Back to top
View user's profile Visit poster's website
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 17, 2004
Posts: 1543
Location: Netizen
PostPosted: Wed Oct 05, 2011 4:28 pm
Post subject: Re: [fixed] Changing Associates ID US

The extra ) was already on line 21?

_________________
DonationsPro for vBulletin, SMF, MyBB, DragonflyCMS


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
Dizfunkshunal
Operator
Operator

Offline Offline
Joined: May 26, 2007
Posts: 69

PostPosted: Wed Oct 05, 2011 8:43 pm
Post subject: Re: [fixed] Changing Associates ID US

not that i seen I compared the new code you gave to the old code it was replacing old code had "));" at the end, new code only had ")"

_________________
DizWebDesign

Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mulitple server setups/ DF9 and 10
Back to top
View user's profile Visit poster's website
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 17, 2004
Posts: 1543
Location: Netizen
PostPosted: Wed Oct 05, 2011 11:03 pm
Post subject: Re: [fixed] Changing Associates ID US

hmm, original line 20 is:
Code::
		$sections = array('bizstore' => array('googleads', 'googleadclient','locale',  'assocID', 'accessID', 'secretID', 'showBuyCart', 'cookie', 'welcome', 'welcomeMSG', 'mainpage', 'mainpageIndex', 'mainpageNode', 'pcActive', 'pcID')
replace with, as above:
Code::
		$sections = array('bizstore' => array('googleads', 'googleadclient','locale', 'assocIDus', 'assocIDca', 'assocIDujk', 'assocIDde', 'assocIDfr', 'assocIDjp', 'accessID', 'secretID', 'showBuyCart', 'cookie', 'welcome', 'welcomeMSG', 'mainpage', 'mainpageIndex', 'mainpageNode', 'pcActive', 'pcID')

line 21 was always:
Code::
		);
There are only 2 arrays, so only 2 sets of brackets - to use 2 brackets in line 21, you would need to omit the closing bracket in line 20?

Anyway, the main thing is that the problem is fixed Smile , at least until Amazon change their API again.
I won't be updating the download just yet because I have converted my cvs to DF10.


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
Dizfunkshunal
Operator
Operator

Offline Offline
Joined: May 26, 2007
Posts: 69

PostPosted: Thu Oct 06, 2011 5:27 am
Post subject: Re: [fixed] Changing Associates ID US

Cool. I dont know i been out of the game awhile i'm really rusty. Thanks for the fix.

_________________
DizWebDesign

Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mulitple server setups/ DF9 and 10
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index »  eCommerce » BizStore
Page 1 of 1
All times are GMT + 9.5 Hours



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum