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 after download and install DpdPickup #33

Open
vz777 opened this issue Oct 5, 2017 · 6 comments
Open

error after download and install DpdPickup #33

vz777 opened this issue Oct 5, 2017 · 6 comments

Comments

@vz777
Copy link

vz777 commented Oct 5, 2017

Hi,
I've this when install this module :

FatalErrorException in DpdPickup.php line 47: Parse Error: syntax error, unexpected '.', expecting ',' or ';'

@etiennePerriere
Copy link
Contributor

Which version ?
Did you change the module code by yourself ?
Can you break the UPDATE_PATH constant creation and see what are the value of __DIR__ and DS ?

No problem by my side.

@vz777
Copy link
Author

vz777 commented Oct 7, 2017

2.3.3.
I havn't change anything in the module.

I don't undersand :
"Can you break the UPDATE_PATH constant creation and see what are the value of DIR and DS ?"

Can we continue in French ?
thx

@etiennePerriere
Copy link
Contributor

À la ligne 47 du fichier DpdPickup.php, là où tu as ton erreur, c'est bien sur la création de la constante UPDATE_PATH ?
Donc regarde plus en détail avec quoi elle est construite, notamment les valeurs de DIR et de DS

@etiennePerriere
Copy link
Contributor

DIR renvoie le chemin vers le dossier du fichier courant, pour moi le reste est bon donc l'erreur vient de là, tu as des noms bizarres dans tes chemins vers ce dossier ? Genre qui contiennent des caractères spéciaux ?

@vz777
Copy link
Author

vz777 commented Oct 7, 2017

ok je comprend d’où vient le souci :

Je travaille dans un sous répertoire et non pas dans www,
ceci dit il y a une redirection pour que l'url soit propre et de type www.tld.com et non pas www.tld.com/eShop

C'est bizarre, c'est le seul module qui ne marche pas dans ces conditions,
peut être qu'il faut que je rajoute qq chose à la ligne 47 ?

@vz777
Copy link
Author

vz777 commented Oct 7, 2017

oui bien entendu la ligne 47, c'est la ligne de création de UPDATE_PATH ;)

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