Welcome to Geeklog Thursday, June 20 2019 @ 07:32 pm EDT

Geeklog Forums

Error installing plugin XMLsitemap


Status: offline

manowar

Forum User
Regular Poster
Registered: 07/11/07
Posts: 81
Location:Santiago - Chile
[root@vbox-mval logs]# tail -f error.log
Mon 10 May 2010 16:55:52 CLT - Attempting to install the 'xmlsitemap' plugin
Mon 10 May 2010 16:55:52 CLT - Attempting to add 'xmlsitemap' features
Mon 10 May 2010 16:55:52 CLT - Inserting default data
Mon 10 May 2010 16:55:52 CLT - Registering 'xmlsitemap' plugin
Mon 10 May 2010 16:55:52 CLT - SitemapXML: Cannot write the sitemap file: /home/geeklog/public_html/sitemap.xml
Mon 10 May 2010 16:55:52 CLT - Plugin postinstall failed
Mon 10 May 2010 16:55:52 CLT - Auto-uninstalling plugin xmlsitemap:
Mon 10 May 2010 16:55:52 CLT - XMLSitemap: cannot delete a sitemap: /home/geeklog/public_html/sitemap.xml
Mon 10 May 2010 16:55:52 CLT - Removing variable xmlsitemap_filename
Mon 10 May 2010 16:55:52 CLT - ...success
Mon 10 May 2010 16:55:52 CLT - Removing variable xmlsitemap_mobile
Mon 10 May 2010 16:55:52 CLT - ...success
Mon 10 May 2010 16:55:52 CLT - Attempting to remove comments for xmlsitemap
Mon 10 May 2010 16:55:52 CLT - ...success
Mon 10 May 2010 16:55:52 CLT - Attempting to remove config table records for group_name: xmlsitemap
Mon 10 May 2010 16:55:52 CLT - ...success
Mon 10 May 2010 16:55:52 CLT - Attempting to unregister the xmlsitemap plugin from Geeklog
Mon 10 May 2010 16:55:52 CLT - ...success
Mon 10 May 2010 16:55:52 CLT - Finished uninstalling the xmlsitemap plugin.

How to solve it?

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
The public_html directory needs to be writable.

bye, Dirk

Status: offline

manowar

Forum User
Regular Poster
Registered: 07/11/07
Posts: 81
Location:Santiago - Chile
drwxr-xr-x 15 502 502 4096 may 10 17:44 public_html

then run :
chmod ??? public_html

Rolling Eyes

Status: offline

justrage

Forum User
Newbie
Registered: 23/06/07
Posts: 10
I had the same error IIRC I made the file sitemap.xml manually, made sure the user and group were the same as the other files in the directory, and mace it rw, r r (655)?.

Been working since doing this.

Status: offline

gape

Forum User
Full Member
Registered: 30/05/02
Posts: 138
Quote by: Dirk

The public_html directory needs to be writable.

bye, Dirk


why is this permission not checked when other permissions are checked during install?

for some time im getting this error when installing
SitemapXML: Cannot write the sitemap file: ...snip.../httpdocs/sitemap.xml

i allways go and change permissions
and see no errors after that ...
but i rely on the checker to check ALL the permissions the script needs to run ...

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: gape

why is this permission not checked when other permissions are checked during install?


That's a good point. From a technical point of view: The install script only checks the permissions required by Geeklog itself - and XMLSitemap is a plugin. So currently the installer doesn't know about requirements of the plugins. We would need an API for that.

Feel free to file a feature request.

bye, Dirk

Status: offline

gape

Forum User
Full Member
Registered: 30/05/02
Posts: 138
Quote by: Dirk

Quote by: gape

why is this permission not checked when other permissions are checked during install?


That's a good point. From a technical point of view: The install script only checks the permissions required by Geeklog itself - and XMLSitemap is a plugin. So currently the installer doesn't know about requirements of the plugins. We would need an API for that.

Feel free to file a feature request.

bye, Dirk


we could check at least for the plugins that ship with geeklog install
will try ' file a feature request.'

All times are EDT. The time is now 07:32 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content