[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] PHP-Nuke in RaQ4



Thanks Steve and all others who have replied.

The first error that I get (well, rather a warning, is about the call-time
pass-by-reference.  I have solved this just by editing php.ini and turning
it on:

Warning: Call-time pass-by-reference has been deprecated - argument passed
by value; If you would like to pass it by reference, modify the declaration
of [runtime function name](). If you would like to enable call-time
pass-by-reference, you can set allow_call_time_pass_reference to true in
your INI file. However, future versions may not support this any longer. in
/home/sites/site5/web/html/includes/sql_layer.php on line 294

Then, when making changes through the admin interface, everything is
spoiled.  I have not foud a solution for this, though do know the cause: the
"\" that are written in the html code included in config.php just dissapear:

For example:

$foot1 = "<a href=\"http://phpnuke.org\"; target=\"blank\"><img
src=\"images/pow.....

becomes $foot1 = "<a href="http://phpnuke.org"; target="blank"><img
src="images/pow....

And this for no apparent reason.  The resulting page now:

Parse error: parse error in /home/sites/site5/web/html/config.php on line 92

Warning: Call-time pass-by-reference has been deprecated - argument passed
by value; If you would like to pass it by reference, modify the declaration
of [runtime function name](). If you would like to enable call-time
pass-by-reference, you can set allow_call_time_pass_reference to true in
your INI file. However, future versions may not support this any longer. in
/home/sites/site5/web/html/includes/sql_layer.php on line 294

Warning: Failed opening 'themes//theme.php' for inclusion (include_path='')
in /home/sites/site5/web/html/header.php on line 43

Fatal error: Call to undefined function: themeheader() in
/home/sites/site5/web/html/header.php on line 54

And that it is.

As per the file with <?php phpinfo(); >? I also get an error:

Parse error: parse error in /home/sites/site5/web/html/test.php on line 1

Any ideas of what might be wrong?

Thanks again for your help.


Best regards,

Francisco




----- Original Message -----
From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Monday, 28 January, 2002 17:18
Subject: Re: [cobalt-users] PHP-Nuke in RaQ4


> "Francisco Sánchez" <lists@xxxxxxxxxxxxx> wrote:
> > I have installed PHP-Nuke in a RaQ4 with the Cobalt PHP 4.06 package.
> >
> > Anyway I am getting some errors when using it.
>
> Please post the errors.  We may be able to help you determine whether
> they're related to post-install configuration which can be modified
through
> php.ini or other means or whether it's the result of your PHP not having
the
> required functionality compiled in.  Also, create a page with the
following
> code:
>
> <?php phpinfo(); >?
>
> and either post the URL so we can look at it or copy/paste the configure
> command from the output used to build PHP.
>
> > Anyone having problems with PHP-Nuke and the PHP 4.0.6 on the RaQ4?
>
> I don't have a RaQ handy with it installed and don't have access to any
> clients' RaQs I've installed it on to check right now.
>
> > I would not mind installing PHP 4.1.1 in the RaQ4, but I am
> > not sure whether the PHP version might be the problem.  Perhaps it could
> be
> > something else that comes with the RaQ4.  Or perhaps upgrading PHP in
the
> > RaQ4 will render somethin else useless...
>
> If you build PHP with at least the same functionality in your currently
> installed PHP nothing on the server should break.  I've installed 4.1.1 on
> several generations of RaQs with no problems.  If you change the
> post-install configuration for things like safe-mode and treatment of
global
> variables currently existing code can break, but those things can be
> modified  globally in php.ini or within httpd.conf, .htaccess etc. on
> global, site, directory basis.
>
> --
> Steve Werby
> President, Befriend Internet Services LLC
> http://www.befriend.com/
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>