Jump to content

Use of undefined constant _PS_CURRENCY_DEFAULT_


Recommended Posts

Hi to all of you,

I have moved my shop (1.4.8.3) from a shared environment to a dedicated server,

I faced a lot of problems due to the file permisions, I think I have solved that now.

IN the BO I see one error, do you have any idea where may I solve this one?

 

Back Office > Orders

 

Notice: Use of undefined constant _PS_CURRENCY_DEFAULT_ - assumed '_PS_CURRENCY_DEFAULT_' in /var/www/vhosts/mywebsite.com/httpdocs/Administrator/tabs/AdminOrders.php on line 952

 

here is the line 952:

 

$currency = new Currency((int)_PS_CURRENCY_DEFAULT_);

 

Huge thanks in advance.

Edited by cogeanumarius (see edit history)
Link to comment
Share on other sites

I have fixed the error with a manual upgrade to PS 1.4.9.0 using this link:

http://doc.prestashop.com/display/PS14/Updating+PrestaShop#UpdatingPrestaShop-Ifupgradingfromaversionbelow1.4.x

and with setting the permissiong using this list:

chmod 775 config

chmod 775 tools/smarty/compile

chmod 775 tools/smarty/cache

chmod 775 tools/smarty_v2/compile

chmod 775 tools/smarty_v2/cache

chmod 775 sitemap.xml

chmod 775 log

chmod -R 775 img

chmod -R 775 mails

chmod -R 775 modules

chmod -R 775 themes/prestashop/lang

chmod -R 775 themes/prestashop/cache

chmod -R 775 translations

chmod -R 775 upload

chmod -R 775 download

 

Thank you

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...