Jump to content

Big issue on Module Refresh


3fingers
 Share

Recommended Posts

Hey all,

here to report a big issue I'm facing. I've searched in the forum and found similar situations but without any solutions.

When I click on "Module refresh" my admin theme (Reno) revert back to the older one pw had long time ago. Worst than this now I cannot reach the page tree because pw says "The requested process does not exist".

I've attached a couple of screenshots.

I'm on Pw 2.8.35, no modules installed yet. A plain and clean multi-language installation on MAMP Osx.

Suggestions?

Thanks!

 

Schermata 2016-10-30 alle 11.25.47.png

Schermata 2016-10-30 alle 11.25.56.png

Link to comment
Share on other sites

Have you tried a different PHP version? There's been some shuffling around with which system calls PHP uses for file access, so it might be that a different version produces different results. Otherwise, moving MAMP and PW to a case sensitive partition might also be an option (MAMP and PW are on the same partition, right?).

Link to comment
Share on other sites

Hello BitPoet,

I've tried php 5.5.10 and 5.1.6.

The first one gave me the issue I've mentioned, the 2nd one doesn't boot up pw at all.

I've just tried those two because they are the ones MAMP have pre-installed.

I have MAMP and pw installed on the same partition, yes...but I don't understand the "case sensitive" part of your answer :) 

 

EDIT: Switched to MAMP Pro and tried php 7.0.8. Same Issue :(

Edited by 3fingers
Updated php version to 7.0.8
Link to comment
Share on other sites

Mac OS' file system HFS+ is by default case insensitive, which means that it doesn't matter if you mix upper- and lowercase paths and filenames. Telling your editor software to open /somefolder/somefile.php and /SomeFolder/SOMEFILE.php will bring up the same file. When you format a partition on Mac OS, you can choose to make the file system case sensitive instead, thus you can have somefile.php and SOMEFILE.php in the same folder. There's a PHP bug already showing the same issue outside of ProcessWire. You might vote that up to get it more attention.

One other idea that came to mind: check if opcache is enabled in php.ini (I think MAMP still does this by default and its been known to cause strange problems). If yes, setting opcache.enabled to 0 and restarting MAMP might be worth a shot. (And don't trust what the the "cache" option in the GUI.)

  • Like 1
Link to comment
Share on other sites

Thanks BitPoet, I knew what "case sensitive/insensitive" means, but never knew about this Osx/php inconsistency before. I'm going to try to install MAMP and Pw on an external partition, set it to case sensitive and report back. 

By the way I've set opcache.enabled to 0 inside php.ini but nothing has changed.

@kongondo :) I've opened a new thread because I was referring, in my first post, to this Github open issue (but cannot find the relative post inside the forum).

 

Link to comment
Share on other sites

Here to report that I've switched back from pw 2.8.35 back to 2.7.3 and everything works smooth as butter.

For the current project I'm on I think I can stick with it, in any case I'm going to test newer pw version on a different partition.

Link to comment
Share on other sites

Out of curiosity I have just installed ProcessWire 2.8.35 with the multi-language profile on my standard non-case-sensitive Journaled HSF+ partition with MAMP Pro on it and I do not have any issues with “Module refresh” (also Reno).

MAMP Pro is the latest 4.0.6, site is on PHP 7.0.12, CGI mode.

I’ve been running various PW versions for almost a year on the same Mac keeping MAMP up-to-date. I have never experienced this sort of issue.

Link to comment
Share on other sites

@3fingers

there was some discussion of this, possibly going into the database and deleting the modules cache from there, also make sure to use the default admin theme (one fix IIRC was to make sure you are not forcing use of admin theme reno, such as in config.php).

Link to comment
Share on other sites

@szabesz and @Macrura

I setup a clean installation of pw 2.8.35, same setup as before, same database and no-problem now when "Module refresh".

The only thing that I can think of is that, with this specific site I'm developing, I swapped from Osx to Windows a couple of times during development (transferring the whole pw tree structure and its database), since I have different machines (at work and at home).  I think about some sort of inconsistency with WAMP and MAMP platforms, don't really know.

  • Like 1
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.
×
×
  • Create New...