1
ccphui
Problems of install XOOPS in Synology NAS (Model DS-101j)
  • 2006/4/26 6:48

  • ccphui

  • Just popping in

  • Posts: 7

  • Since: 2006/4/26


Hi, I have tried to installed various versions of XOOPS into
my new bought Network Attached System (i.e. NAS), which
has bundled with PHP, Apache and MySQL. I have got all "Green light" passes during the installation, but I got a blank page
after then whenever I load the main page or the admin page.

After I follow the instructions of some of the fornum, I turned
on the debug mode and got the following error message :-
++++++++++++++++++++++++++++++++++++++++++++++++++++
IN MAIN PAGE
register_globals =

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /volume1/web/mainfile.php:41) in /volume1/web/include/common.php on line 28

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /volume1/web/mainfile.php:41) in /volume1/web/include/common.php on line 28
This page cannot be displayed due to an internal error.

If you are the administrator of this site, please visit the XOOPS Troubleshooting Page for assistance.

Error [Xoops]: Unable to connect to database in file class/database/databasefactory.php line 34
++++++++++++++++++++++++++++++++++++++++++++++++++++
IN ADMIN PAGE
register_globals =
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /volume1/web/mainfile.php:41) in /volume1/web/include/common.php on line 28

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /volume1/web/mainfile.php:41) in /volume1/web/include/common.php on line 28
This page cannot be displayed due to an internal error.

If you are the administrator of this site, please visit the XOOPS Troubleshooting Page for assistance.

Error [Xoops]: Unable to connect to database in file class/database/databasefactory.php line 34
+++++++++++++++++++++++++++++++++++++++++++++++++++++

Any one had tried to installed anykind of open sourced application system like 'XOOPS' into some kind of NAS like
mind (Synology DS-101j) and encountered the similiar situation.

Please send me comments, advices and solutions.

Philip Hui.

2
pemen
Re: Problems of install XOOPS in Synology NAS (Model DS-101j)
  • 2006/4/26 8:07

  • pemen

  • Not too shy to talk

  • Posts: 186

  • Since: 2002/7/8 7


Hi,

Do you add output functions in the mainfile.php (for example for test) like echo, var_dump, ... functions. ?

Can you show us a copy of your mainfile.php and especially the line 41. ?

Regards
Identity management, LDAP, Workflow and more
XoopsPro

3
Will_H
Re: Problems of install XOOPS in Synology NAS (Model DS-101j)
  • 2006/4/26 8:15

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


So I am assuming this a "nix" type setup?

4
ccphui
Re: Problems of install XOOPS in Synology NAS (Model DS-101j)
  • 2006/4/26 8:38

  • ccphui

  • Just popping in

  • Posts: 7

  • Since: 2006/4/26


Well, I just put the following command in the mainfile.php,
as told by the fornum to display the value of register_globals:-

echo "register_globals = " . ini_get('Register_global');

Resized Image

5
pemen
Re: Problems of install XOOPS in Synology NAS (Model DS-101j)
  • 2006/4/26 9:05

  • pemen

  • Not too shy to talk

  • Posts: 186

  • Since: 2002/7/8 7


No, the echo command will generate :

Warning: session_start(): Cannot send session cache limiter - headers already sent

You can use it temporaly to see the register_global value but you must delete it after that.


It's better to use the PHP trigger_error function and turn on the PHP debug mode in XOOPS.
Identity management, LDAP, Workflow and more
XoopsPro

6
ccphui
Re: Problems of install XOOPS in Synology NAS (Model DS-101j)
  • 2006/4/26 9:16

  • ccphui

  • Just popping in

  • Posts: 7

  • Since: 2006/4/26


Oh, Really ! Then let me try to remove this command.

B.T.W. Can you tell me why it returns no value for
register_globals ?

Login

Who's Online

311 user(s) are online (266 user(s) are browsing Support Forums)


Members: 0


Guests: 311


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits