Hello,
I have a server running modx, locally (e.g: in the same LAN) modx pages are working fine; outside the LAN (I have an ISP natting outside address to my local address), modx site return generally a blank page.
The first page of my modx is a simple WebLogin, which is working fine from inside and outside.
After loggin, I can use modx only in my local LAN. All others pages return a blank page from the outside.
I removed all files in my cache folder, then I got following error:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: Invalid argument supplied for foreach()
Error type/ Nr.: Warning - 2
File: /******/modx/manager/includes/document.parser.class.inc.php
Line: 1211
Line 1211 source: foreach ($this->documentMap as $mapEntry) {
Parser timing
MySQL: 0.0014 s (5 Requests)
PHP: 0.0270 s
Total: 0.0284 s
On the page where I should be redirected after loggin, there is only a simple menu (WayFinder).
Modx manager is working inside and outside my LAN.
This problem started when I change my DNS provider for the outside IP address.
I do not see how it is linked, there aren’t any reference to the DNS name on apache conf or other..
Does anyone have a tip to get this working ?
Hope I was clear enough
Server:
Ubuntu 8.04
Apache 2
MySQL 5
PHP 5
MODx 0.9.6.2