Page 1 of 1

Agile MultipleSeller 500 Server Error

PostPosted: Wed Mar 18, 2015 11:05 am
by gr8est_chic_4408
Hi,

I get "500 Server Error Oops, something went wrong. Try to refresh this page or feel free to contact us if the problem persists." when I try to sign up as a seller.

I log on to my Account (pretending to be a customer) > click on the My Seller Account > Accept the terms and conditions > click on Yes please sign me up then the error mentioned above shows.

When I check the error log see the following:
PHP Notice: Trying to get property of non-object in
/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 344, referer:

Any ideas what this could be and how I could resolve it?

Re: Agile MultipleSeller 500 Server Error

PostPosted: Wed Mar 18, 2015 11:43 am
by shokinro
thanks for using our modules.

what version of PrestaShop are you using and what version of our module are you using?

If you are going to use PrestaShop 1.6.0.12/13/14, please fix some fatal bugs of PrestaShop first before installing our agile multiple seller module, otherwise there will be trouble after installation.

You can find bug information and download the fix file here from our forum
viewtopic.php?f=10&t=2181&p=7622

But please be noted, there are still one bug is not fixed yet by PrestaShop, you can install our modules, but if you try to uninstall it, you may still face problems.
http://forge.prestashop.com/browse/PSCSX-4910

Re: Agile MultipleSeller 500 Server Error

PostPosted: Wed Mar 18, 2015 3:04 pm
by gr8est_chic_4408
Thank you for getting back to me.

I'm using PrestaShop version 1.6.0.9 and Agile Multiple Seller module v3.0.4.2

Any suggestions?

Re: Agile MultipleSeller 500 Server Error

PostPosted: Thu Mar 19, 2015 12:15 am
by shokinro
that's weird, we do not have this issue reported from other customers. it could be related to theme or some other modules.

can you check if you have enabled _PS_MODE_DEV_ in file /config/defines.inc.php, if it is true, set to false.

Code: Select all
if (!defined('_PS_MODE_DEV_'))
define('_PS_MODE_DEV_', true);

Re: Agile MultipleSeller 500 Server Error

PostPosted: Thu Mar 19, 2015 9:43 am
by gr8est_chic_4408
Hi,

Thank you for your response.

I've checked and it is set to false, see below:

if (!defined('_PS_MODE_DEV_'))
define('_PS_MODE_DEV_', false);

Any other ideas?

Re: Agile MultipleSeller 500 Server Error

PostPosted: Fri Mar 20, 2015 12:06 am
by shokinro
not sure what is the problem, we did not hear this error before.
it seems related to theme files, can you try to clean smarty cache and set smarty to "force compile" and "no" cache to see if it fixes?
- back office - advanced parameters - performances tab


Also you can set following from false to true and see what is the real error displayed.
define('_PS_MODE_DEV_', false);

Re: Agile MultipleSeller 500 Server Error

PostPosted: Fri Mar 20, 2015 3:23 pm
by gr8est_chic_4408
Hi,

I cleaned the cache but still got the same result.

However when I set the PS_MODE_DEV to true, the following error was displayed:

[PrestaShopException]

Property SellerInfo->postcode is empty
at line 847 in file classes/ObjectModel.php

841. $message = $this->validateField($field, $this->$field);
842. if ($message !== true)
843. {
844.
845. if ($die)
846. throw new PrestaShopException($message);
847. return $error_return ? $message : false;
848.
849. }
850. }
851.
ObjectModelCore->validateFields - [line 260 - classes/ObjectModel.php]
ObjectModelCore->getFields - [line 464 - classes/ObjectModel.php]
ObjectModelCore->add - [line 22 - override/classes/ObjectModel.php] - [2 Arguments]
ObjectModel->add - [line 425 - classes/ObjectModel.php] - [2 Arguments]
ObjectModelCore->save - [line 804 - modules/agilemultipleseller/AgileMultipleSellerBase.php]
AgileMultipleSellerBase::createSellerInfo - [line 747 - modules/agilemultipleseller/AgileMultipleSellerBase.php] - [3 Arguments]
AgileMultipleSellerBase::createSellerAccount - [line 10 - modules/agilemultipleseller/controllers/front/sellersummary.php] - [1 Arguments]
AgileMultipleSellerSellerSummaryModuleFrontController->postProcess - [line 171 - classes/controller/Controller.php]
ControllerCore->run - [line 373 - classes/Dispatcher.php]
DispatcherCore->dispatch - [line 28 - index.php]

Re: Agile MultipleSeller 500 Server Error

PostPosted: Mon Mar 23, 2015 12:24 am
by shokinro
thanks for using our modules.

from error message, it seems that the customer has an address that does not have postcode which is required fields.
can you check if the post code is entered for that customer address?

Also, have you made any changes to your store or to the module?
we have tried the same version and we are not able to reproduce the issue.

You may contact [email protected] with following information to get the latest version of the module and see if it fixes the problem.
- your oder #
- your store URL
- the version of your PrestaShop

best regards