Warning your browser does not accept script's cookies AGAIN. Warning your browser does not accept script's cookies AGAIN.
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Warning your browser does not accept script's cookies AGAIN.

Started by swisswuff, January 27, 2005, 10:43:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

swisswuff

The following error occurs, despite all settings of browsers being set to accept cookies, and despite said settings having been tested using other software that, also, sets cookies. So it is neither a firewire setting, nor privacy setting, of any kind, that possibly can cause the problem, as Coppermine gallery is the ONLY program that causes this error while other programs running on the same Apache/pHp/mySQL setting can easily manage their cookies without errors:

"Warning your browser does not accept script's cookies"

Please advise what to do. The current four listings of answers contained in this list after searching for that error messsage text are not helpful as they do not alleviate this problem.

Thank you very much!

Aditya Mooley

Post your sites URL and the test account so that we can check the problem.
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

swisswuff

The image database runs internally due to sensitive material (case work, etc), so I could not organize for anyone to have access. But in the meantime, I identified the problem and resolved the error.

Here is what I found out:

Cookies did not seem to be a real concern to our setup (all browsers had cookies enabled; all browsers ran competitive programs and other pHp-based software, such as Menalto Image Gallery, pHpBB, pHpMyAdmin, OWL, et cetera; we tested from different operating systems). So the error was most likely to be caused by Coppermine Gallery not being compatible with our setup, seeing as if Coppermine Gallery -generally- runs well.

Following the checklist, I started with system-requirements and version-checking, and I found very quickly, that our pHp-Version was 5 instead of 4.x. It would be generally helpful to have Coppermine highlight this particular incompatibility instead of displaying this misleading and unhelpful 'cookie' error. For further reference, it would be good to enter into a FAQ that ONE of the possible solutions to the error "Warning your browser does not accept script's cookies' can be an upgraded pHp version.

Here is the link to the relevant post:
http://forum.coppermine-gallery.net/index.php?topic=13370;prev_next=next

Here is the fix:

Edit php.ini:
"register_long_arrays = On" in php.ini.

Restart Apache webserver.

Now it works nicely :-) !

Nibbler

Any future releases will not need that setting, so changing the documentation is uneccessary. If you choose to use PHP 5 then you should be aware of the compatiblity issues you would ecounter with many scripts designed for PHP 4.

swisswuff

From the Coppermine documentation, where it says "requirements":

1. What is required

    * A web server that supports PHP (the script should work with any version >= 4.1.0)
    * A MySQL database
    * PHP compiled with the support for the GD library or the ImageMagick "convert" utility in order to make thumbnails and reduced size images


With the amount of time you spent typing your reply which I would rate 0/5 in terms of helpfulness, the information could easily have been added to the documentation.

Casper

And with your obvious great experience with using forums, I would have expected you to read the titles of the forums you are posting in. 

General discussion (no support!)

Which bit of 'no support' did you not understand.
And you posted first, searched later, wasting our time trying to provide help you didn't actually need, because the answer was already there for you.

How many points should we give you for these failures to follow our basic rules.

Nibbler was simply pointing out that php 5 requires to be configured correctly, or many scripts will fail.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here