Seite 1 von 1

Old pages saving but not publishing, new pages publishing

Verfasst: Mi 28. Mai 2014, 11:17
von Michael_S
Hi,

I have just updated a site and moved it from my development server to the production (live) server but have problems publishing existing documents. New documents created on the production server can be published (html + php). I've rebuilt the documents and template but still cannot publish.

The initial issue was that the PHP version was outdated, this was updated to 5.3.28 and the current version of webEdition is running 6.3.8-s1 (6.3.8.0, SVN-Revision: 6985). The live server is running Centos/Plesk, the development server was running Linux with PHP 5.4.28 and was on shared hosting.

Has anyone got any thoughts or a fix for the issue of the old (existing) pages saving but not publishing?

Thanks,

Michael.

Re: Old pages saving but not publishing, new pages publishin

Verfasst: Mi 28. Mai 2014, 11:31
von netzlum
Hi Michael,
any issues in the webedition error log when trying to publish?

Ludger

Re: Old pages saving but not publishing, new pages publishin

Verfasst: Mi 28. Mai 2014, 12:34
von Michael_S
netzlum hat geschrieben:Hi Michael,
any issues in the webedition error log when trying to publish?

Ludger
Hi Ludger,

Yes, it appears that the Plesk was updated to get a newer version of PHP and something has changed with the file permissions for the old webEdition files. New files are ok, with save and publish working and the webroot (httpdocs) has the same permissions as before. Also I've tried to update webEdition again but get a permissions error.

Publishing error:

Code: Alles auswählen

Error type: 	User warning
Error message: 	

error writing file
---------------------------------------------------
SECURITY_REPL_DOC_ROOT/about-us/key-people.php
Update error:

Code: Alles auswählen

Error during step: Download installer
Error message: chmod() [function.chmod]: Operation not permitted
at: /var/www/vhosts/datasat.com/httpdocs/webEdition/liveUpdate/updateClient/liveUpdateFunctionsServer.class.php
line: 189

Re: Old pages saving but not publishing, new pages publishin

Verfasst: Mi 28. Mai 2014, 12:57
von Michael_S
Looks like this is a Plesk upgrade issue with the permissions. When I create a new document in webEdition (save + publish ok) the user/group is different from the old files (save ok, publish fail). I think what I need to do is to reinstall webEdition and to install (recover) and new backup from the development server or have the Sys Admin look at the file permissions :-(

Re: Old pages saving but not publishing, new pages publishin

Verfasst: Do 29. Mai 2014, 15:44
von mokraemer
No, you just have to login via ftp and change permissions or, if you can, the user/group.
Otherwise you have to contact your hoster / admin to change owner/group to the owner/group of the running webserver (i.e. apache). That should do the job.