Jump to content

Multisite: Can't delete files or add file description on site #1 while everything's fine on site #2


sarah_hue
 Share

Recommended Posts

Hi,

wow, this is weird: I am running two sites with one ProcessWire installation. Both are using VersionControl module. I moved both sites to another webserver right after installing VersionControl.

  • On site #1 ...
    • sometimes (!) file upload is not possible (the pink status bar gets stuck at 100 %)
    • already uploaded files (before moving to the new server) cannot be deleted
    • file descriptions cannot be changed
    • no error messages are given, not even in debug mode
  • While on site #2 ...
    • everything's fine: uploading, deleting, changing the description...

I read Douglas' post on a glitch in dev 2.5.19, but I'm using the regular 2.5(.0).

nghi's post on a similar problem describes pretty much what I'm experiencing here, but if there was something wrong in the suhosin.ini, site #2 would encounter the very same problem.

If I use VersionControl to set the file field back to an earlier version where the file was not uploaded yet, the file disappears and is deleted from /assets/file/[page-id]/. Same vice-versa when setting to a version before a file was deleted: It is recreated on the page and in the filesystem.

Permissions are -rw-rw-rw- for all files.

Any ideas?

Sarah

Link to comment
Share on other sites

Copied everything to a separate webserver. Uploading files, deleting them and changing their description works fine here. :huh:

Anything you could suggest instead of deinstall and reinstall the VersionControl module?

Link to comment
Share on other sites

Hello,

I didn't leave a message 1-2 days ago because I didn't know if I could really help. But never mind...

For confirmation/precision, are you using option #1 with multiple databases, or option #2 with the same database (use of the Multisite module)?

What are the (big) differences between the servers where both websites work and the server where only one website works ?

And if there are 2 differents databases, are there any (big) differences between them?

Edit: just in case, is there a significant difference relative to the ftp owner (apache, another "instance"...) or the mysql (database) owner...?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By NehaPillai
      Hello Everyone, I was trying to update SEO meta title, description and meta keywords for my website in Process Wire CMS but it saving in the backend but it is not reflecting on my website, Please help me regarding this error. Please find below attached screen shot for your ref. TIA.


    • By joeck
      Hi there,
      I'm trying to have a multi-site (multiple databases) setup on a IIS (Microsoft) server.
      I know that IIS is not officially supported by ProcessWire but customer is insisting on IIS.
      I get an 500 Error when trying to access the sub-domain/other processwire site.
      Did somebody do this before or is it not possible at all to have a multi-site setup on IIS?
      Thanks
    • By joeck
      Hi Everyone,
      I was playing around with the ProcessWire command-line script sitemap.sh (https://processwire.com/docs/front-end/include/)
      I currently have a multi-site setup (with separate databases).
      -> site
      -> site-other
      The sitemap works but it shows only the pages from the default site directory. How can I get the sitemap of the site-other directory?
      Here is my working code that prints the sitemap of 'site':
      #!/usr/bin/php <?php namespace ProcessWire; include("index.php"); // bootstrap ProcessWire function listPage($page, $level = 0) { echo str_repeat(" ", $level) . $page->title . "\n"; foreach($page->children as $child) { listPage($child, $level+1); } } listPage($pages->get("/")); // start at homepage I tried including index.config.php instead of index.php but that didn't help...
    • By kongondo
      Using ProcessWire's in-built multi-site support (option #1 here), is it possible to bootstrap the various sites? To bootstrap ProcessWire, the only requirement is to include /path/to/processwire/index.php/. In option #1, there is only one index.php. So, including index.php defaults to bootstrapping the main site (i.e. the site at /site/. Is it possible to bootstrap the other sites, i.e. site-dogs, site-cats, site-birds, etc? I've searched the forums but nothing relevant comes up.
      Thanks.
×
×
  • Create New...