• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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