Broken links into emonCMS on a Synology NAS

Following another topics i not able to resolve the problem:

http://openenergymonitor.org/emon/node/1036
http://openenergymonitor.org/emon/node/5020

Points checked over Synology with DSM 5.0-4458 Update2

0/ Activate the Web Station service
1/ On the NAS, install the packages MariaDB & phpMyAdmin
2/ Deflate the EmonCMS archive into the web folder or subfolder
3/ Add a new user & database using phpMyAdmin (first time login, use empty password then set it up)
4/ Modifying settings.php with database credentials (at minimum)

At this point, I cant find the solution for emoncms3 web aplication does not redirect the links properly.  :-(

When i load into a browser my http web: http://192.168.1.50/emoncms3/   (picture attached: emoncms3_image01.jpg), web page open well

After that, when i try to login or register, link is broken to right content. For instance, into register option (picture attached: emoncms3_image02.jpg), link open is like follow:

http://192.168.1.50/emoncms3/user/create

But i suppose that well link is this: (picture attached: emoncms3_image03.jpg)

http://192.168.1.50/emoncms3/index.php?q=user/create

I check that 'mod_rewrite', 'mod_deflate' and 'mod_headers' are loaded and seems active

NAS> cat /etc/httpd/conf/httpd.conf-user

..
..
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
..
..

Restarting apache services:

NAS> /usr/syno/etc/rc.d/S97apache-sys.sh restart

 

Query loaded modules:

NAS> httpd -t -D DUMP_MODULES
Loaded Modules:
core_module (static)
mpm_worker_module (static)
http_module (static)
so_module (static)
..

..

include_module (shared)
xsendfile_module (shared)
rewrite_module (shared)
deflate_module (shared)
headers_module (shared)
reqtimeout_module (shared)
suphp_module (shared)
Syntax OK

In anoter link, says that 'libphp5.so' module must be loaded into httpd.conf-sys, but i cant find mentioned library on my system.

http://www.vanderzee.org/synology

AddType application/x-httpd-php .php
LoadModule php5_module /lib/libphp5.so

I have spent a lot of hours looking for someone whith the same problem without success. Any suggestion, please!! :-) 

TrystanLea's picture

Re: Broken links into emonCMS on a Synology NAS

Im not familiar with SynologyNAS, but I wonder if this thread might help: http://openenergymonitor.org/emon/node/2167

Sounds like its still a mod_rewrite issue. But I would also ask why are you using emoncms v3 when there is version 8 available? Its up here: http://github.com/emoncms/emoncms

chivakaa's picture

Re: Broken links into emonCMS on a Synology NAS

Hi Tristian, thanks for your quick answer,

You are in right, better install last version available (v8.2.4), but now i have a diferent error :-|

I have the same problem of 'robw':

http://openenergymonitor.org/emon/node/2167

"I get a red box under the confirm password box but it has no text or error message not even in the source html." (Attach: login failed.jpg)

I set permission folder of web app to user 'emoncms3user' and group 'http'. This group give access over web services. Also i set permision over folder /volume1/web/emoncms (Attach: login failed.jpg) This is the folder were webs apps are located.

The behaviour are the same, picture in red over user credentials after push over Login. Without response...

Users rights? No error message? some test to apply?  :-(

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.