Notifications
Clear all

v1.4.2 error

7 Posts
2 Users
0 Reactions
631 Views
(@meachware)
Posts: 31
Trusted Member
Topic starter
 

1st: Never got the "newsletter" telling me 1.4.2 was released; I've signed up more than once!

2nd: No update instructions

3rd: I renamed my working folder to combu_v1.4.1 and copied over the entire v1.4.2 combu folder. Replaced my edited config.php and email_register.html files. Went to my phpadmin and re-ran the combu_db.sql. After creating a new user (with Unity) I get this error when viewing the account through the admin panel: 

Warning: Missing argument 2 for CB_UserFiles::Load(), called in /home/content/g/r/e/removed/html/combu/combu/admin/admin_users.php on line 167 and defined in/home/content/g/r/e/removed/html/combu/combu/lib/CB_UserFiles.php on line 43

H E L P

A possible related error: when I try and give the user "Coins" it displays the amount but the on-screen log displays ERROR and on the next login coins are gone.

 
Posted : 08/07/2014 10:34 pm
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Sorry, I forgot to send the newsletter for this version.

About the update instructions, usually you only need to replace your web and Unity files with the ones in the package. Updating the database from older versions could not be straightforward because I cannot know from what version a user is upgrading, so I'll write the changes to the database in a file inside the package. About your current upgrade, did you create a new database (or deleted the old tables)?

I'll send you privately admin_users.php updated, there was the issue you're having and the update is still being reviewed for Asset Store.

Are you getting the error for your "Coins" custom data in Unity or web admin?

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 08/07/2014 11:21 pm
(@meachware)
Posts: 31
Trusted Member
Topic starter
 

Thank you for the super fast service!! The updated file fixed the error. cool

Re: Coins - I'm using the Unity Demo scene to add [CUSTOM] Coins to my account and thats where I'm seeing the error. It's been awhile but I'm fairly certain that's how I did it last time. Just enter "Coins" and then the amount "50". Then I could open the DemoShop scene and make purchases. If I'm doing it wrong, just let me know.

 
Posted : 09/07/2014 12:50 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Does it says only "ERROR"? The way you're setting the custom data from the demo scene seems correct. Let me send you a change to the users webservice for you to test and see if that fixes the issue.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 09/07/2014 12:56 am
(@meachware)
Posts: 31
Trusted Member
Topic starter
 

Skared Creations said
Does it says only "ERROR"? The way you're setting the custom data from the demo scene seems correct. Let me send you a change to the users webservice for you to test and see if that fixes the issue.

YES, only "ERROR" in red text under Result Log.

 
Posted : 09/07/2014 12:58 am
(@meachware)
Posts: 31
Trusted Member
Topic starter
 

Patched files (inventory.php and users.php) have corrected the error. I can now enter some amount of coins and it shows NO error and when I log back in, the coins are still there!

smile

Edit: and now the DemoShop scene works properly (it was logging me out after each purchase)

 
Posted : 09/07/2014 1:02 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Oh that's awesome! I wanted to try this fix also for another user who was having similar issue, by the way it apparently was because of PHP version, that is they deprecated magic quotes from PHP 5.3. Thanks for your support, I'm going to send the update tomorrow for everyone else ;)

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 09/07/2014 1:05 am
Share: