Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when Install on Prestashop v1.6.1.18 #1

Open
planetace101 opened this issue Mar 15, 2018 · 4 comments
Open

Error when Install on Prestashop v1.6.1.18 #1

planetace101 opened this issue Mar 15, 2018 · 4 comments

Comments

@planetace101
Copy link

I have tried to install the afterpay mod and get the follwoing errors:

2 errors
afterpay (parse error in /modules/afterpay/afterpay.php)
afterpay (class missing in /modules/afterpay/afterpay.php)

Any ideas?

Thanks

@VivoZivo
Copy link

VivoZivo commented Apr 23, 2018

Here's how I solve this. For install Afterpay module you need to set 5.4 PHP
When I change my 5.3 PHP to 5.4 PHP installation was free of error.

Note.
for proper functioning of PrestaShop under new settings, before you start module install update "htaccess" & "php.ini" in root folder of prestashop (rename to htaccess_backup, php_backup.ini)
Then go to "SEO & URLs" in "Preferences" in BO of your PRESTA and change "Friendly URL" and press "SAVE" generate new "htaccess" & "php.ini", than set to back "Friendly URL" and SAVE again
After this your Presta is ready for Afterpay module install (But first remove old one)

If this too complicated for you, feel free to contact me I will help you.

@planetace101
Copy link
Author

Awesome, worked perfect now, thank you.
I also have a client that has Prestashop 1.5, any chance there's a 1.5 version of AfterPay?

@VivoZivo
Copy link

VivoZivo commented Apr 30, 2018

The version of module is not compliant with your PrestaShop version.
But you have here module for 1.5 prestashop Duch/Belgian

@VivoZivo
Copy link

VivoZivo commented Apr 30, 2018

I'ts better if you upgrade prestashop 1.5 to 1.6.
You can make exact copy of webshop on same server, (need to create subdomain first) and then you can safe upgrade 1.5 to 1.6 and test it.
If everything goes well, you have a backup copy of the store where you can test everything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants