Topic: Problems with the Options menu

Hi all.
I have a problem after installing the CN1.5
When I go to OPTIONS I get.

Fatal error: func_get_arg(): Can't be used as a function parameter in /home/CuteNews/core/core.php on line 262

What can it cause this problem?

Greetings and thanks.

Re: Problems with the Options menu

This error should not occur in php5.3. Upgrade your PHP installation?

Re: Problems with the Options menu

This error should not occur in php5.3. Upgrade your PHP installation?

Thanks, I'll check my version of PHP.

Re: Problems with the Options menu

Thanks for the help,

I updated the PHP started working but my other systems stopped working, there would be another solution to this problem?

Would be temporary, until rewrite my old systems .

5 (edited by 2012-11-20 12:28:02)

Re: Problems with the Options menu

If you have updated to php 5 then all your scripts will need to be updated if they give errors.
It is not possible to rewrite cutenews 1.5 to downgrade it. You could use an earlier version of cutenews but this is not a good idea as it will not be as secure.

Re: Problems with the Options menu

If you have updated to php 5 then all your scripts will need to be updated if they give errors.
It is not possible to rewrite cutenews 1.5 to downgrade it. You could use an earlier version of cutenews but this is not a good idea as it will not be as secure.

Thank you very much for your advice.
I made a temporary menu options until you change server.

Greetings and thanks for responding.

Re: Problems with the Options menu

that didn;t work for me still getting that error msg.  I am using PHP version 5.2.17

8 (edited by 2012-11-28 16:19:27)

Re: Problems with the Options menu

that didn;t work for me still getting that error msg.  I am using PHP version 5.2.17

Read my first post above #2

The bug was corrected in 5.5.3

9 (edited by 2012-12-06 13:35:46)

Re: Problems with the Options menu

I have exactly the same problem - I'm using PHP 5.2.17 and have no intention up upgrading to 5.3 at the present time because of the problems it would cause with other PHP applications

Is there some other work-around to this problem?  https://cutephp.com/forum/style_emoticons/default/blink.gif

Re: Problems with the Options menu

Rewrite the lines that cause the problem.
http://stackoverflow.com/questions/4979507...t-args-from-php

Re: Problems with the Options menu

Thankyou Damoor

This is very helpful in understanding what the problem is.

Unfortunately, though, my PHP knowledge isn't strong enough to see how I can modify the code to work around the problem

I appreciate your thoughtfulness all the same





12 (edited by 2012-12-06 16:47:17)

Re: Problems with the Options menu

I have looked through the code and this function does not seem to be used in earlier versions of core.php
A temporary fix would be to download an earlier version and use that.
https://cutephp.com/cutenews/changelog.php