Bug Invalid data writer '\DBTech\Shop\DataManager\Currency' specified

Status
Not open for further replies.

Augustus

Customer
Hello Fillip H. and co.

I hit a snag upgrading from 5.4.0 to the 6.0.0 line of Shop which prompted me to do a complete uninstall and redo from 5.4.0.

I first upgraded from 5.4.0 to 6.0.0 Beta 3, where I experienced this error. I've experienced it on 4 and 5 since then.

On this clean shop install, with no shops, categories, items or currencies added to the shop, I attempted to edit the default points currency to integrate it with one of the credits currencies and received a datawriter error.

"Invalid data writer '\DBTech\Shop\DataManager\Currency' specified"

I am getting this message whenever I try and edit, or add new currencies under the shop > currency menu. Could you advise on the cause of this and whether it can be resolved?

Thanks!

-J
 
Can you please make sure you've uploaded all the files, and that you didn't attempt to leave any files out? Some people have experienced upload issues because they did not believe the "src" directory was needed on XF1.
 
I can confirm that they're all uploaded, and I even reuploaded them for good measure. (I'm not part of the school of thought that excludes the src folder, if it's in the upload folder, it gets uploaded :p)
 
Could you please create and PM me with a temporary FTP and AdminCP account?

For security reasons, we recommend you create a new FTP account only for DBTech support, then disable or delete it after we have both confirmed the issue has been solved and there are no further issues.

The same applies to AdminCP accounts; they should ideally be temporary accounts created for us only. If we have created an account on your site already, you can optionally boost that account to Administrator and then de-admin this account once the issue has been solved.

If you use a .htaccess password protection for your AdminCP directory, it is recommended that you create a new authorised user for DBTech and remove this user once the issue has been solved.

Please test any temporary accounts you create to ensure that the FTP account has access to the forum files, and that the AdminCP account can access the administrative controls for the product we are assisting you with.

Ensuring this is all in order before submitting the information will significantly speed up the process of assisting you. We will alert you via PM if there's any issues with the login information you have provided.

When sending the PM, for your security you should also un-tick the "Save a copy in my Sent Items folder" checkbox. When the access details have been received, we will delete the PM from our inbox. Ensuring you have not kept a copy of the PM reduces the risk of security breaches.

Thank you for helping us debug our products and allowing us to assist you, we appreciate it :D
 
All that's been checked - you shouldn't have any trouble and you should have a PM with the information you needed.
 
I deleted leftover folders from the non-beta versions and that appears to have resolved the issue :)
 
Oof, so I went to upload some images for items - after making sure the directory was writable and this was the error I've received:

Server Error
Undefined property: DBTech\Shop\Application\Upload::$_maxFileSize

XenForo_Application::handlePhpError() in /var/www/kingdomofalexandria.com/src/addons/DBTech/Shop/Application/Upload.php at line 221
DBTech\Shop\Application\Upload->_checkForErrors() in /var/www/kingdomofalexandria.com/src/addons/DBTech/Shop/Application/Upload.php at line 117
DBTech\Shop\Application\Upload->isValid() in /var/www/kingdomofalexandria.com/src/addons/DBTech/Shop/Application/Upload.php at line 303
DBTech\Shop\Application\Upload->writeUpload() in /var/www/kingdomofalexandria.com/src/addons/DBTech/Shop/Application/Upload.php at line 335
DBTech\Shop\Application\Upload->writeUploadedImage() in /var/www/kingdomofalexandria.com/src/addons/DBTech/Shop/Action/Itemmanagement.php at line 559
DBTech\Shop\Action\Itemmanagement->actionUpdate() in /var/www/kingdomofalexandria.com/src/addons/DBTech/Shop/Application/Core.php at line 173
DBTech\Shop\Application\Core->runAction() in DBTech/Shop/XenForo/ControllerPublic/Shop.php at line 31
DBTech_Shop_XenForo_ControllerPublic_Shop->actionIndex() in XenForo/FrontController.php at line 369
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 152
XenForo_FrontController->run() in /var/www/kingdomofalexandria.com/index.php at line 13
 
I'll patch that in the next beta, in the meantime you can manually upload images to the directory that should be printed in the description, if not it's in the /styles/DBTech/Shop folder and its subfolders.
 
Hello Augustus,

This ticket has now been closed with the status Fixed.

We hope your issue or question has been addressed to your satisfaction. If not, please feel free to re-open it by clicking this link.

If you have any further issues or questions, please feel free to start a new support ticket via the button at the top of every page.

Thank you!
 
Status
Not open for further replies.

DragonByte Shop

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
3,173
Customer rating
5.00 star(s) 3 ratings
Back
Top