• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Plesk 12 Wordpress Toolkit Parse Error

Status
Not open for further replies.

Cheech_Schneidi

New Pleskian
Hi,

i have over 5 WP installations on my Server and i installed all manual and had never issues.
Now i installed a again a WP Site and after i go to the Wordpress Toolkit to search for the new installation i got the following Message:

PHP Parse error: syntax error, unexpected '?' in /usr/share/plesk-wp-cli/php/wp-cli.php(23) : eval()'d code on line 1 {"err_code":0,"err_message":"\n

With error cannot connect to DB.

So all WP installations are running fine instead of the new one.
I didn't change any configs files of PHP all is standard, the wp-config.php is correct, the Site is running fine.

From my point of view is this an issue by Plesk due to Parse error message at the files of Plesk, see error message!

System:
OS Debian 7.8
Plesk Version 12.0.18 Update #43, zuletzt aktualisiert: 20. April 2015 13:17:36

Please provide a fix for it and i know with an older Version of Plesk 12.0.18 it was working fine too, so the bug was implemented with a MU.

I checked the file as well and find out that at all PHP files the code is not closed at the end so the "?>" is always missing.


regards
Cheech
 
I suppose that there is problem with parsing wp-config.php file inside a Wordpress installation document root. Please double check this file content.
 
Hi Igor, is the same permission , user and group as the other installations.

example:
-rw-r--r-- 1 user psacln 4,2K Mär 26 16:08 wp-config.php -> Working

-rw-r--r-- 1 user psacln 3,7K Apr 21 11:46 wp-config.php -> not Working

regards
Cheech
 
Obviously that there is different content of these files and /usr/share/plesk-wp-cli/php/wp-cli.php parces them differently.
 
Ok found it ....

i do not why but at the config file from wp it start with #? and some other symbols ... after removing all is fine ...

Please close this one.

Cya
Cheech
 
Status
Not open for further replies.
Back
Top