cpg 1.4.1 batch add and single upload - smf bridge problem cpg 1.4.1 batch add and single upload - smf bridge problem
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

cpg 1.4.1 batch add and single upload - smf bridge problem

Started by BMWHeaven, March 08, 2005, 05:24:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BMWHeaven

Hi,
I've been testing 1.4.1 for a while now, just updated to the latest file through CVS, but I got some probs.
I know there is no support for 1.4>, but I do wanna ask something.
I've got the following situation:

I uploaded all of my files in albums/gallery -> all nicely in subfolders etc.
The first 350 files I batch added without a prob, but now it just does nothing anymore.
In the batch add iframe, it generates the first 5 to 10 thumbnails in the list of new files, and then is just waiting to create new ones (no time out or anything).
Now upload and batch-add both give probs, and I cannot add anything anymore.
I also cannot access my site anymore (tried via ie and ff), until I clear the cache of the browser I used for batch-adding/uploading.

I'm using cpg 1.4.1 in a test environment bridged with smf (1.0.2) and smf is bridged with mambo (4.5.2).
I know it's kind of a support question, but I cannot figure out where the problem is coming from.

The warnings I get from debug:
/com_smf/Sources/Load.php(1040) : eval()'d code

    * Notice line 157: Undefined index: mosConfig_live_site

/themes/bmwheaven/theme.php

    * Notice line 828: Undefined variable: lang_bbcode_help_title
    * Notice line 828: Undefined variable: lang_bbcode_help
    * Notice line 1081: Undefined variable: mosConfig_live_site
    * Notice line 1081: Undefined variable: row

/searchnew.php

    * Notice line 100: Undefined variable: sel_album
.... and so on ....
    * Notice line 168: Undefined variable: fullimagesize
    * Notice line 169: Undefined variable: fullimagesize
.... and so on ....


And here is my debug info:
USER:
------------------
Array
(
    [ID] => 141139e8699523b61827fe84fb6154d6
    [am] => 1
    [lang] => dutch
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Ilir
    [groups] => Array
        (
            [0] => 101
        )

    [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] => 10
    [num_URI_upload] => 10
    [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] => Administrator
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 101
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg141_filetypes; (0.001s)
    [1] => select * from cpg141_plugins order by priority asc; (0s)
    [2] => SELECT * FROM cpg141_bridge (0.001s)
    [3] => SELECT group_id FROM cpg141_usergroups WHERE has_admin_access  (0s)
    [4] => SELECT ID_MEMBER as user_id FROM `bmwheaven`.smf_members WHERE ID_POST_GROUP in (1) (0s)
    [5] => SELECT u.ID_MEMBER AS id, u.memberName AS username, u.passwd AS password, u.ID_POST_GROUP+100 AS group_id FROM `bmwheaven`.smf_members AS u INNER JOIN `bmwheaven`.smf_membergroups AS g ON u.ID_POST_GROUP=g.ID_GROUP WHERE u.ID_MEMBER='1' (0.001s)
    [6] => 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 cpg141_usergroups WHERE group_id in (101) (0.001s)
    [7] => SELECT group_name FROM  cpg141_usergroups WHERE group_id= 101 (0s)
    [8] => SELECT user_favpics FROM cpg141_favpics WHERE user_id = 1 (0s)
    [9] => DELETE FROM cpg141_banned WHERE expiry < '2005-03-08 16:22:13' (0s)
    [10] => SELECT * FROM cpg141_banned WHERE (ip_addr='83.83.11.246' OR ip_addr='83.83.11.246' OR user_id=1) AND brute_force=0 (0s)
    [11] => SELECT aid, title FROM cpg141_albums WHERE 1 (0.001s)
    [12] => SELECT COUNT(*) FROM cpg141_pictures WHERE approved = 'NO' (0.001s)
    [13] => SELECT filepath, filename FROM cpg141_pictures WHERE filepath LIKE 'gallery/models/6series/e63%' (0.003s)
    [14] => SELECT aid, title FROM cpg141_albums WHERE category = 0 (0.001s)
    [15] => SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM cpg141_albums as a, cpg141_categories as c WHERE a.category = c.cid AND a.category < '10000' (0.004s)
    [16] => SELECT aid, CONCAT('(', memberName, ') ', a.title) AS title
FROM cpg141_albums AS a
INNER JOIN `bmwheaven`.smf_members AS u
ON category = (10000 + ID_MEMBER)
ORDER BY title (0.002s)
)

==========================
GET :
------------------
Array
(
    [startdir] => gallery/models/6series/e63
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.3 - OK
------------------
mySQL version: 4.0.15
------------------
Coppermine version: 1.4.1(beta)
==========================
Module: GD
------------------
GD Version: bundled (2.0.15 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support:
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.0.15
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
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
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/share/php | .:/usr/share/php
open_basedir | /home/httpd/vhosts/bmwheaven.bmwsport.net/:/tmp | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
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 | 8M | 8M
==========================
Page generated in 0.567 seconds - 17 queries in 0.016 seconds - Album set : ; Meta set: ;


Thanks for reading,
Ilir

ps If you're just gonna say that there is no support for 1.4>, just don't answer, I'll get the message...

Joachim Müller

a link and test user account (non-admin) with upload privileges, debug_mode turned on and upload method set to "Single file uploads only" might help.

Joachim

BMWHeaven

k, i can do that, but the problem is that access to my site is per IP-Address, so if you want to test, I need it.... (Don't want unwanted ppl on the beta-site)
I'll create a test user with all the priveleges you said.

omniscientdeveloper


BMWHeaven

thx omniscientdeveloper,
your remark brought me to some new ideas

I now tried to enable/disable the bridge to smf, and that turns out to be the problem.
With smf-bridge enabled, i cannot batch-add (single file sometimes works, dunno why)
With smf-bridge disabled, i can batch-add and single file upload works as well.

Here are the 2 debug infos:
smf-bridge enabled:
USER:
------------------
Array
(
[ID] => 6e0869699b5c9f18958644dc2a371dc5
[am] => 1
[lang] => english
[liv] => Array
(
[0] => 342
[1] => 341
) )

==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => Ilir
[groups] => Array
(
[0] => 101
)

[disk_max] =>
[disk_min] =>
[can_rate_pictures] =>
[can_send_ecards] =>
[ufc_max] =>
[ufc_min] =>
[custom_user_upload] =>
[num_file_upload] =>
[num_URI_upload] =>
[can_post_comments] =>
[can_upload_pictures] =>
[can_create_albums] =>
[has_admin_access] => 1
[pub_upl_need_approval] =>
[priv_upl_need_approval] =>
[group_name] =>
[upload_form_config] =>
[group_quota] => 0
[can_see_all_albums] => 1
[group_id] => 101
)

==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content, player FROM cpg141_filetypes; (0.001s)
[1] => select * from cpg141_plugins order by priority asc; (0s)
[2] => SELECT * FROM cpg141_bridge (0.001s)
[3] => SELECT group_id FROM cpg141_usergroups WHERE has_admin_access (0s)
[4] => SELECT ID_MEMBER as user_id FROM `bmwheaven`.smf_members WHERE ID_POST_GROUP in (1) (0s)
[5] => SELECT u.ID_MEMBER AS id, u.memberName AS username, u.passwd AS password, u.ID_POST_GROUP+100 AS group_id FROM `bmwheaven`.smf_members AS u INNER JOIN `bmwheaven`.smf_membergroups AS g ON u.ID_POST_GROUP=g.ID_GROUP WHERE u.ID_MEMBER='1' (0.001s)
[6] => 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 cpg141_usergroups WHERE group_id in (101) (0.001s)
[7] => SELECT group_name FROM cpg141_usergroups WHERE group_id= 101 (0s)
[8] => SELECT user_favpics FROM cpg141_favpics WHERE user_id = 1 (0.001s)
[9] => DELETE FROM cpg141_banned WHERE expiry < '2005-03-09 13:21:26' (0s)
[10] => SELECT * FROM cpg141_banned WHERE (ip_addr='83.83.11.246' OR ip_addr='83.83.11.246' OR user_id=1) AND brute_force=0 (0s)
[11] => SELECT aid, title FROM cpg141_albums WHERE 1 (0.001s)
[12] => SELECT COUNT(*) FROM cpg141_pictures WHERE approved = 'NO' (0.001s)
[13] => SELECT filepath, filename FROM cpg141_pictures WHERE filepath LIKE 'gallery/models/6series/e63%' (0.003s)
[14] => SELECT aid, title FROM cpg141_albums WHERE category = 0 (0.001s)
[15] => SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM cpg141_albums as a, cpg141_categories as c WHERE a.category = c.cid AND a.category < '10000' (0.004s)
[16] => SELECT aid, CONCAT('(', memberName, ') ', a.title) AS title
FROM cpg141_albums AS a
INNER JOIN `bmwheaven`.smf_members AS u
ON category = (10000 + ID_MEMBER)
ORDER BY title (0.002s)
)

==========================
GET :
------------------
Array
(
[startdir] => gallery/models/6series/e63
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.3 - OK
------------------
mySQL version: 4.0.15
------------------
Coppermine version: 1.4.1(beta)
==========================
Module: GD
------------------
GD Version: bundled (2.0.15 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support:
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.0.15
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
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
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/share/php | .:/usr/share/php
open_basedir | /home/httpd/vhosts/bmwheaven.bmwsport.net/:/tmp | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
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 | 8M | 8M
==========================
Page generated in 0.307 seconds - 17 queries in 0.017 seconds - Album set : ; Meta set: ;




smf-bridge disabled:
USER:
------------------
Array
(
[ID] => 6e0869699b5c9f18958644dc2a371dc5
[am] => 1
[lang] => english
[liv] => Array
(
[0] => 342
[1] => 341
) )

==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => ilir
[groups] => Array
(
[0] => 1
)

[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
)

==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content, player FROM cpg141_filetypes; (0.001s)
[1] => select * from cpg141_plugins order by priority asc; (0s)
[2] => SELECT group_id FROM cpg141_usergroups WHERE has_admin_access (0s)
[3] => SELECT user_id as user_id FROM `bmwheaven`.cpg141_users WHERE user_group in (1) (0s)
[4] => delete from `bmwheaven`.cpg141_sessions where time<1110371011 and remember=0; (0s)
[5] => delete from `bmwheaven`.cpg141_sessions where time<1109165011; (0s)
[6] => select user_id from `bmwheaven`.cpg141_sessions where session_id=md5("b6ac5c14339683ed13201ecf1bd84342f5a469bb3a6ce0746fffeadb715f60a7"); (0s)
[7] => select user_id as id, user_password as password from `bmwheaven`.cpg141_users where user_id=1 (0s)
[8] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `bmwheaven`.cpg141_users AS u INNER JOIN `bmwheaven`.cpg141_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
[9] => SELECT user_group_list FROM `bmwheaven`.cpg141_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
[10] => 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 cpg141_usergroups WHERE group_id in (1) (0.001s)
[11] => SELECT group_name FROM cpg141_usergroups WHERE group_id= 1 (0s)
[12] => update `bmwheaven`.cpg141_sessions set time='1110374611' where session_id=md5('b6ac5c14339683ed13201ecf1bd84342f5a469bb3a6ce0746fffeadb715f60a7'); (0.001s)
[13] => SELECT user_favpics FROM cpg141_favpics WHERE user_id = 1 (0.001s)
[14] => DELETE FROM cpg141_banned WHERE expiry < '2005-03-09 13:23:31' (0s)
[15] => SELECT * FROM cpg141_banned WHERE (ip_addr='83.83.11.246' OR ip_addr='83.83.11.246' OR user_id=1) AND brute_force=0 (0s)
[16] => SELECT aid, title FROM cpg141_albums WHERE 1 (0.001s)
[17] => SELECT COUNT(*) FROM cpg141_pictures WHERE approved = 'NO' (0.001s)
[18] => SELECT filepath, filename FROM cpg141_pictures WHERE filepath LIKE 'gallery/models/6series/e63%' (0.003s)
[19] => SELECT aid, title FROM cpg141_albums WHERE category = 0 (0.001s)
[20] => SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM cpg141_albums as a, cpg141_categories as c WHERE a.category = c.cid AND a.category < '10000' (0.004s)
[21] => SELECT aid, CONCAT('(', user_name, ') ', a.title) AS title
FROM cpg141_albums AS a
INNER JOIN `bmwheaven`.cpg141_users AS u
ON category = (10000 + user_id)
ORDER BY title (0.001s)
)

==========================
GET :
------------------
Array
(
[startdir] => gallery/models/6series/e63
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.3 - OK
------------------
mySQL version: 4.0.15
------------------
Coppermine version: 1.4.1(beta)
==========================
Module: GD
------------------
GD Version: bundled (2.0.15 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support:
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.0.15
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
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
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/share/php | .:/usr/share/php
open_basedir | /home/httpd/vhosts/bmwheaven.bmwsport.net/:/tmp | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
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 | 8M | 8M
==========================
Page generated in 0.2 seconds - 22 queries in 0.016 seconds - Album set : ; Meta set: ;





I'm really lost here, any ideas what's wrong with the bridge file?

omniscientdeveloper

Thanks. We should be able to take it from here. Someone will look into the problem.

Can anyone with SMF confirm that the SMF bridge is still broken?

Nibbler

I am unable to reproduce this problem, however you are in group that does not exist, as you can see in the debug output, maybe that is related. Other possibilities are the space at the end of the bridge file or maybe some probs with including SSI.php. Can you see if you have the same problem with another bridge file or if it is SMF specific ?

BMWHeaven

Added about 100 pictures while bridged with mambo, and it is just working....
Prob is that I need the SMF bridge, because of my template (Now using core template, but got another one - custom made - for live site in the future)

Can somebody else try this?


New problem:
turning off the mambo bridge now gives me this error:
While executing query "SELECT id as user_id FROM `bmwheaven`.mos_users WHERE gid in ()" on 0

mySQL error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1


for now I will just turn the bridge off through phpMyAdmin:
k, found out one thing, changing from mambo bridge to no bridge at all, gives you probs with usergroups.... but helped it by putting back standard values in usergroups table

BMWHeaven

Seems that I've narrowed the problem down to a certain piece of the mambo bridge.
with Use post-based groups = 1 it gives me problems
with Use post-based groups = 0 it works fine

Can you try to reproduce it like this? with Use post-based groups = 1 it should give probs


EDIT: just kept on trying, and now it's having problems again, also with Use Post-based groups = 0.....

omniscientdeveloper

I think you've probably screwed something. The Mambo bridge works fine on my site. This is turning into a support thread, and as it has been said, there is no support yet.

We're taking a second look at all the bridge files, so I suggest you wait until the final release.

BMWHeaven

Owkay,
I've done some further research, and it has to have something to do with GD.

First, try adding this file to your coppermine gallery:
http://bmwheaven.bmwsport.net/coppermine/albums/gallery/tuning/acschnitzer/z4topster/topster_v8_spoiler.jpg

Try it in both 1.3.1 and 1.4.1, in my 1.3.1 it does upload the file, and creates the thumbnail etc.
In my install of 1.4.1 it uploads the file, but is unable to create the thumbnail, and I cannot add it to an album.

It has to have something to do with specific JPEG files, because some other JPEGs do work...

The problem seems to be in the function call  imagecreatefromjpeg in showthumb.php

Can anyone verify this problem, and maybe there is a switch possible to the old version of creating JPEGs?

My info:
PHP - version 4.3.3
GD - bundled (2.0.15 compatible) - all file types supported
http://bmwheaven.bmwsport.net/coppermine/phpinfo.php

Casper

I had no trouble uploading this and adding it to both 1.3 and 1.4 installs.
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


Tranz

It would be better if you upgraded to php 4.3.10. It would include a newer GD, too.

Joachim Müller

Imo this thread is not actually a valid bug report, turns out to be a server setup issue. Will mark as "invalid".

Joachim

BMWHeaven

When (or maybe if) I get the server updated to version 4.3.10, I'll let you know about the issue.
For now, I don't know if it's really something to do with the server (could be something wrong with with config file too)