admin cannot have a user gallery? - Page 2 admin cannot have a user gallery? - Page 2
 

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

admin cannot have a user gallery?

Started by domestictuner, September 13, 2009, 03:03:28 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

domestictuner

This is the tailend of the debug info, it mentions safe mode but doesn't appear to have the values listed.

==========================
VERSION INFO :
------------------
PHP version: 5.2.10 - OK
------------------
mySQL version: 5.0.81-community
------------------
Coppermine version: 1.4.25(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
module doesn't exist
==========================
Module: zlib
------------------
module doesn't exist
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
==========================
email
------------------
Directive | Local Value | Master Value |  |  |  |  |  |  |  |
==========================
Size and Time
------------------
Directive | Local Value | Master Value |  |  |  |  |  |  |  |
==========================
Page generated in 0.037 seconds - 14 queries in 0.001 seconds - Album set : ; Meta set: ;

Joachim Müller

Your webhost appears to have disabled phpinfo and all subsequent information. Ask them (your webhost) how to retrieve the data then alternatively. It's very likely that your webhost has applied other security-related restrictions that have an impact on your gallery. Demand to know what they did exactly (in comparison to a vanilla PHP install).

domestictuner

i have found the phpinfo, is there any particular values i am looking for other than the safe modes?

in PHP Core:

safe_mode   Off   Off
safe_mode_exec_dir   no value   no value
safe_mode_gid   Off   Off
safe_mode_include_dir   no value   no value

in standard:

safe_mode_allowed_env_vars   PHP_   PHP_
safe_mode_protected_env_vars   LD_LIBRARY_PATH   LD_LIBRARY_PATH

Thank you for your help.

Joachim Müller

Well, seems like you don't have safe_mode enabled PHP-sided, so it's bad that you have enabled silly_safe_mode coppermine sided. You shouldn't have done so in the first place. I'm not sure that what happens if you just turn it off (quite frankly: I have never tried). Try for yourself and report back please.

domestictuner

Quote from: Joachim Müller on September 27, 2009, 11:38:33 AM
Well, seems like you don't have safe_mode enabled PHP-sided, so it's bad that you have enabled silly_safe_mode coppermine sided. You shouldn't have done so in the first place. I'm not sure that what happens if you just turn it off (quite frankly: I have never tried). Try for yourself and report back please.

should i delete the silly safe mode entry or change the constant to 0?

Joachim Müller

Comment it out by putting two slashes in front of it.

domestictuner

commented out, no change to issue

in debug mode this notice is displayed
/bridge/udb_base.inc.php

    * Notice line 149: Undefined property: cpg_udb::$multigroups

Joachim Müller

Leave notices_display turned off unless you're a coder and know what the notices mean

domestictuner


Joachim Müller

I don't know: the gallery http://www.ccclassics.org/gallery/ is in maintenance mode, so there's little left for us to do.