Hi all,
I've used Coppermine 1.3.2 for 2 months without problem. Today, bug when uploading my pictures (link : http://upload.php when the upload was confirmed), bug when logging me (administrator), the link was http://login.php/?referer=%2F%2Findex.php and not http://mywebsite/login.php/?referer=%2F%2Findex.php...
Strange, no ?
Is it a bug, an attack on my website ?
When uploading the files, same problem...
Need help, pleaaase ! :-\\
Thanks a lot and sorry for my langage ;)
In Config, edit the ecard target to point to your gallery URL
Well, under Internet Explorer, I can't access to admin mode (http://index.php). With Firefox, I can log in (correcting the target myself). In the config page, the ecard target is ok, but I can not save the new configuration (inactive button, as the upload button or the login button...). Incredible... I'm stuck...
Have you another solution for me please ? ::)
Please define "ok" in ecard target. What does it say specifically?
Hum, when I put "ok" in the ecard target on coppermine's config page, nothing happen, when I click on the "save new config" button, the url "http://config.php" appear in the bottom on my Internet explorer. I tryed to make change through my database, but nothing happen.
Here is my debug mod :
USER:
------------------
Array
(
[ID] => 2fb59806b6cfae9f6fa0abb5275762f4
[am] => 1
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_group] => 1
[user_active] => YES
[user_name] => login
[user_password] => xxxxxxxxxx
[user_lastvisit] => 2005-02-16 21:51:15
[user_regdate] => 2004-09-28 19:41:45
[user_group_list] =>
[user_email] =>
[user_website] => xxx / xxx/ xxx
[user_location] => xxx
[user_interests] => xxx
[user_occupation] => xxx
[user_actkey] =>
[user_favpics] =>
[disk_max] => 0
[disk_min] => 0
[can_rate_pictures] => 1
[can_send_ecards] => 1
[ufc_max] => 3
[ufc_min] => 3
[custom_user_upload] => 0
[num_file_upload] => 5
[num_URI_upload] => 3
[can_post_comments] => 1
[can_upload_pictures] => 1
[can_create_albums] => 1
[has_admin_access] => 1
[pub_upl_need_approval] => 0
[priv_upl_need_approval] => 0
[group_name] => Administrators
[upload_form_config] => 3
[group_quota] => 0
[can_see_all_albums] => 1
[group_id] => 1
[groups] => Array
(
[1] => 1
)
)
==========================
Queries:
------------------
Array
(
- => SELECT extension, mime, content FROM cpg132_filetypes;
[1] => SELECT * FROM cpg132_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = 'e40519cba4b18cecbd32c4df4663c671'
[2] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as priv_upl_need_approval FROM cpg132_usergroups WHERE group_id in (1)
[3] => SELECT group_name FROM cpg132_usergroups WHERE group_id= 1
[4] => DELETE FROM cpg132_banned WHERE expiry < 1108623964
[5] => SELECT * FROM cpg132_banned WHERE ip_addr='82.228.200.139' OR ip_addr='82.228.200.139' OR user_id=1
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.10 - OK
------------------
mySQL version: 4.0.22
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
==========================
Module: mysql
------------------
Active Links 1
Client API version 4.0.22
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/mysql/include/mysql
MYSQL_LIBS -L/usr/mysql/lib/mysql -lmysqlclient
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.2
Linked Version 1.2.2
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | On | On
disable_functions | no value | no value
file_uploads | On | On
include_path | /var/www/free.fr/4/9/mywebsite/include:. | .
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 2M | 2M
==========================[/i]
Thanks for your help :-*
Please specify exactly what you have in the ecard target setting. If it is indeed pointing to your gallery, it may be a server setting where the script is not picking up a variable it is expecting to pick up...
Don't get me wrong: could it be that you're self-hosted, but you have little idea how to run a webserver of your own?
Joachim
Hi,
I'm not self-hosted, coppermine stand-alone 1.3.2 is installed on an free ftp count (supplier of access Internet) and it worked perfectly before (before what ? :-\\)... (I'm using Coppermine -pnCPG version-in two others website without problems).
Target address for the 'See more pictures' link in e-cards :: http://prozak.new.fr/index.php (I can't save it by the config.php's page cause of my problem, so I've changed it in my database/config)
Last week, I've just submitted a free url redirection .new.fr... but coppermine worked two days with it...
Thanks :)
[SOLVED] In my database, I restore the original URL and not the redirected URL .new.fr and it seems to work... I'm going to test it more. Strange, no ? Thanks for yours cooperation ;)