Hi,
Hum, hum. My standard response would be: there is an easier way to do that: use the plugin management page, and go to the JUpload configuration page.
FYI: this is in the doc, and the (little) FAQ, at the end of it.
But I guess we have a real trouble here. About the 'permanent change' in the code. No, there is a problem here. The config file is not found, and the constant necessary to construct the
I don't like the line:
/albums/userpics/codebase.php
Notice line 34: Undefined index: _GET
Warning line 41: include(../include/config.inc.php) [function.include]: failed to open stream: No such file or directory
Warning line 41: include(../include/config.inc.php) [function.include]: failed to open stream: No such file or directory
Warning line 41: include(../include/config.inc.php) [function.include]: failed to open stream: No such file or directory
Warning line 41: include() [function.include]: Failed opening '../include/config.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')
The codebase.php has nothing to do in albums/userpics. Actually, there should be NO php code at all, there.
Question: Is this codebase.php file related to jupload ?
(check it: a php file here can be some kind of attack on your system, there should only be pictures there)
You don't precise the JUpload version you're using. After a quick on the last version, I don't think these warnings come from my code.
If it's jupload related: it should be in the /plugins/jupload folder. But the ../include/config.inc.php would still be false. It should be ../../include/config.inc.php (to load the main config file) or include/config.inc.php (to load the jupload one)
BUT:
There can be link: if the jupload config.inc.php file is not found, the constants are not properly initialized, and you have to insert the JUPLOAD_CONFIG_SessionManagement, which should not appear in the config table. This is the name of a constant, whose value is sessionManagement. When not initialized (jupload.inc.php file not loaded), the value is set to JUPLOAD_CONFIG_SessionManagement.
Can you check where is installed the jupload plugin ?
Etienne