MAMP used in Foundation projects for maintenance and updates

Hi,

I have made a couple of projects in RW6, Stacks3 and Foundation.
One of the projects is working fine with MAMP using http://localhost:8888 as a way to perform maintenance in the background.

But the other one gives a Server 500 error when trying to access it with localhost:8888.
In the project not working with MAMP I use Sitelok as login and user security system. Besides that, it is typically the same stacks and plugins I use in both projects.

The main reason I want to use MAMP in this this particular site is that it is a community site which is meant to develop with user requirements over time which means that I rather often will have a need to make updates and maintenance to the site without having to disturb the daily operations. This is what I hope MAMP would be able to help me with - if I could get it working :slight_smile:

If anybody have ideas to what I can do to get MAMP working on this site, or perhaps some other ideas on how to perform maintenance and updates in the background, I would be very happy :slight_smile:

Thanks in advance.

I have never used sitelok, but a 500 Internal server error from Apache is very generic, you will need to take a look at the logs in MAMP, if you installed in your applications folder you will find them here:
/Applications/MAMP/logs
They should give you some clue as to what the error is.

Thanks @teefers

I think I have located the error. It is in the php error log, and it looks like it has to do with the Sitelok implementation. But do you have any clues on how I can fix that?

This is the error text:
[16-Mar-2016 03:07:55 Europe/Berlin] PHP Fatal error: require_once(): Failed opening required ‘slpw/sitelokpw.php’ (include_path=’.:/Applications/MAMP/bin/php/php5.6.10/lib/php’) in /Users/pkr/Dropbox/Websider/peterkroman fra RapidWeaver/Eksporterede RW projekter/Genealogisk_Forum/index.php on line 3

I’m willing to bet that if you drop Adrian (the developer of Sitelok) an email with all of the details, that he’ll respond very quickly. On the few occasions that I’ve needed assistance with implementing a feature of Sitelok, his fantastic customer service has never failed to amaze me. His after-purchase support is flat-out excellent.

1 Like

I have never used Sitelok, as I have not had a need to. From the great reviews I’ve seen it appears to be a great product. My PHP knowledge is bit rustly, but I would think it is a config issue in MAMP running sitelock.
I would follow @dave 's advice and contact the developer, It is probably a simple config change in the PHP running MAMP.

Seconded. Great product, great support.

@dave
I do agree with you. Adrian delivers an absolute second to none support - before, under, and after purchase. Absolutely best in class.
And that he in addition to this have a supreme product portfolio is “just” the cream on the cake :slight_smile:

Thanks for your kind words :smiley:

Peter it looks from the error message that its just the path to sitelokpw.php in the line

require_once(“slpw/sitelokpw.php”);

that is not correct. This is a relative path so it depends where your page is located. If you can point me to the page I can check that. You have my email address.

1 Like

@vibralogix

I have e-mailed you :slight_smile: