Jump to content

Can't reach the Modules section in the backend


luckybusted
 Share

Recommended Posts

Hey Guys,

just migrated my PW from local to the webserver. Everything is fine except one thing.

When I click on the "Modules" section in the backend I get linked to .../processwire/module/ but the page is white ... no errors just a blank page.

Any ideas for this?

Link to comment
Share on other sites

Thanx that was the first right step.

Now I get this error:

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 30720 bytes) in /var/www/web152/html/stage/wire/modules/LanguageSupport/LanguageSupport.module on line 372

Fatal error: Class declarations may not be nested in /var/www/web152/html/stage/wire/core/FileLog.php on line 19

Link to comment
Share on other sites

Welcome to the forums!

I think Wanze meant $config->debug = true;

You could also try and delete module cache files (in case you've copied site/assets/cache as well):

rm site/assets/cache/Modules.*
  • Like 1
Link to comment
Share on other sites

@nik thank you!

I cleared the cache and got this error now:

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 7680 bytes) in /var/www/web152/html/stage/wire/modules/Jquery/JqueryWireTabs/JqueryWireTabs.module on line 5

Link to comment
Share on other sites

Seems that you've only got 16 MB of memory reserved for PHP. That's awfully small amount and could definitely result in problems like this.

Any chance that you could increase this? Similar problem was discussed here and in that case increasing memory limit was the solution. I would suggest something like 128 MB, but according to that thread even 30 MB should be enough :)

  • Like 1
Link to comment
Share on other sites

  • 2 years later...

Welcome to the forums!

I think Wanze meant $config->debug = true;

You could also try and delete module cache files (in case you've copied site/assets/cache as well):

rm site/assets/cache/Modules.*

Hi,

I have the same problem after having moved the site to a another server. When trying to log in I get the statement: "The process returned no content" 

Error:   wire/core/FileLog.php on line 86

(I've edited my previous comment as I logged into the old server, silly me ..).

Any suggestions?

Bernard

Link to comment
Share on other sites

Hi,

I retried to upload everything from one server withe the testsite with ProcessWire 2.7.2 to another server php 5.4. The front end is doing fine but when I try to login I still get a "The process returned no content.

On the top or the admin page I get:  Unable to generate password hash

What is possibly wrong?

Kind regards,

Bernard

Link to comment
Share on other sites

Hi,

I retried to upload everything from one server withe the testsite with ProcessWire 2.7.2 to another server php 5.4. The front end is doing fine but when I try to login I still get a "The process returned no content.

On the top or the admin page I get:  Unable to generate password hash

What is possibly wrong?

Kind regards,

Bernard

This doesn't appear to be related to the original thread... Could you please open a new thread for this?

Link to comment
Share on other sites

Thanks Mike,

but I just seem to have solved the problem while reading through and through the forum and experimenting a bit ...

1. In wire/core/password.php (version 2.7.2 around line 230) I changed  

public function supportsBlowfish() {
return version_compare(PHP_VERSION, '5.3.0') >= 0 && defined("CRYPT_BLOWFISH") && CRYPT_BLOWFISH;
TO
public function supportsBlowfish() {
return version_compare(PHP_VERSION, '5.4.0') >= 0 && defined("CRYPT_BLOWFISH") && CRYPT_BLOWFISH;
(I was coming from php 5.3.18 on the old server to php5.4.x on the new one)

2. I did THIS (at the bottom of site/templates/admin.php)  with a NEW password and clicked 'mysite'surl.com'/processwire   ONCE

$u = $users->get('YOURLOGINNAME');
$u->of(false);
$u->pass = 'ANEWPASSWORD';
$u->save(); 

3. Went back to  admin.php and erased what I put in  #2 and saved it (ftp)

4. Clicked again on  'mysite's url.com'/processwire and logged in with the new password

5. A miracle happened as I got back into the admin section on the new server ^-^

Nothing better than the PW forum as it really harnesses all the solutions .. Thanks!

Bernard

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 spercy16
      I was previously using individual fields to capture and output multiple cards onto my web page but after recently learning about repeaters would prefer to use this field type, as it will be a lot more user friendly for end users to create new cards. I tried to modify my code to grab the fields from the new Repeater field(s) but am getting this error message on the page:
      Here is the code I'm currently trying to use for the cards:
      <?php // https://processwire.com/api/arrays/ // check if the array of images has items foreach($page->tall_card as $card) { $count = 0; $count++; $options = array( 'quality' => 70 ); $image = $card->image; $img = $card->image->size(550, 400, $options); $cardHeading = $card->title; $cardBody = $card->plain_paragraph; $raised = $card->raised_amount; $goal = $card->goal_amount; $link = $card->link; if ($raised == 0 ) : $percent = 0; else: $percent = $raised_amount / $goal_amount * 100; endif; if ($percent <= 5) : $percent = 0; endif; ?> <span id="card<?php echo $count?>" class="card"> <img class="cardThumb" src="<?php echo $img->url; ?>" alt="<?php echo $image->description; ?> Thumbnail" /> <div class="cardBody"> <div class="cardText"> <h2><?php echo $cardHeading; ?></h2> <?php echo $cardBody; ?> </div> <div class="progressBarSection"> <progress class="progressBar" id="progressbar<?php echo $count; ?>" value="<?php echo $percent; ?>" max="100"></progress> <span class="raisedAmount"> $<?php echo $raised; ?> usd </span> <span class="goalAmount"> $<?php echo $goal; ?> usd </span> </div> <div class="primaryBtn"> <a href="https://www.paypal.com/donate?hosted_button_id= <?php echo $link; ?> &source=url"> <button> <i class="fas fa-donate"></i> Donate </button> </a> </div> </div> </span> <?php } ?> Thanks in advance for any help!
    • By CachePuzzles
      Hi there,
      I'm probably missing something simple, but I'm just setting up my first site so I guess that's bound to happen.
      I've installed the LoginRegistration module and at first I was thinking that the confirmation emails weren't being sent. However I now see that new user confirmation emails are taking 20+ minutes to arrive. Is there a way to speed this up?
      Also the email is coming from processwire@mydomain - I couldn't found a place to change this.
      Any advice or help would be great!
      Brian
    • By fruid
      Hi friends,
      just 7 months ago, I was "just" a designer and a rather semi-developer, still struggling with WordPress sites and more often than not delegating that work to pros. ProcessWire really helped me realising that it's not that hard after all (well it's still hard but it's doable) and you learn a lot just by doing it which has to be true for all developers anyway. So I started coding myself, I might also have to thank the 2020 pandemic to help me focus a bit more than usual, I created a bunch of websites using PW already – one of which I can't wait to put on showcases but it's still not live yet. That is one big personal milestone for me. The next milestone would be to give something back, and so I'd like to take on contributing some code I wrote, namely a event calendar for anyone to use. It's my first attempt doing this so please don't eat me alive. It's not a PW module yet (that's the plan however) just a git but I'm positive it will be useful once it works – well it works but it still needs more work – because if I had found a module that came close I wouldn't have started coding it myself :D
      With that, I will appreciate all input, be it how to improve the .js (probably especially), or the templates, or guidance how to proceed turning this into a PW-module, and of course, in that last process, no pun intended, suggestions to make it more versatile for different needs.
      git: github.com/bbblgmsp/ProcessEventCalendar
      demo: http://foobar.roofaccess.org/events/
      Thank you!
    • By VeiJari
      Hi, this is the first we are trying to make a page that has only one type of user that has access to every page. 
      The other users should only have a given access to specific pages, not to the whole template.
      My structure
      -Field -Organisation -Project -Report I want that the "measurer" role only has access to "project x" and it's children, but no view access to every project, organisation or field. I've tried to do this with https://modules.processwire.com/modules/page-edit-per-user/ but it still needs a view access to the whole tree to see the "project x" page. Or is there something I haven't figured out?
      Maybe I have to make it via the API: a select field in the "organisation" template where the admins could add the users and then I use hook to update the privileges?
      Have you done something like this and how did you accomplish it?
      Any help would be appreciated.
       
×
×
  • Create New...