forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Solc on April 23, 2004, 11:37:04 am
-
I just installed CPG on my domain and I tried to upload files with the Xp Publisher
The publisher only created a directory but after "uploading" there were no files in the folder.
Then I tried to upload a single file with the upload feature on CPG, but that gave me a critical error.
This is my xp publish log:
<font color='#ff0000'><br />
<b>Warning</b>: exec, passthru, system, popen, show_source, php_uname, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, chgrp() has been disabled for security reasons in <b>/data/members/paid/s/u/superlam.nl/htdocs/www/include/picmgmt.inc.php</b> on line <b>131</b><br />
<font color='#ff0000'><br />
<b>Warning</b>: chmod(): Unable to access albums/wpw-b5/thumb_DSC00072.jpg in <b>/data/members/paid/s/u/superlam.nl/htdocs/www/include/picmgmt.inc.php</b> on line <b>191</b><br />
<font color='#ff0000'><br />
<b>Warning</b>: chmod(): No such file or directory in <b>/data/members/paid/s/u/superlam.nl/htdocs/www/include/picmgmt.inc.php</b> on line <b>191</b><br />
<font color='#ff0000'><br />
<b>Warning</b>: getimagesize(): Unable to access albums/wpw-b5/thumb_DSC00072.jpg in <b>/data/members/paid/s/u/superlam.nl/htdocs/www/include/picmgmt.inc.php</b> on line <b>193</b><br />
<font color='#ff0000'><br />
<b>Warning</b>: getimagesize(albums/wpw-b5/thumb_DSC00072.jpg): failed to open stream: No such file or directory in <b>/data/members/paid/s/u/superlam.nl/htdocs/www/include/picmgmt.inc.php</b> on line <b>193</b><br />
Critical error: The picture 'albums/wpw-b5/DSC00072.jpg' can't be inserted in the album <br /><br />(File: : /data/members/paid/s/u/superlam.nl/htdocs/www/xp_publish.php / Line: : 834)
And this is the critical error I get when uploading a single file:
The picture 'albums/userpics/10001/DSC00001.jpg' can't be inserted in the album
Unable to create thumbnail or reduced size image.
Warning: exec, passthru, system, popen, show_source, php_uname, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, chgrp() has been disabled for security reasons in /data/members/paid/s/u/superlam.nl/htdocs/www/include/picmgmt.inc.php on line 131
Warning: chmod(): Unable to access albums/userpics/10001/thumb_DSC00001.jpg in /data/members/paid/s/u/superlam.nl/htdocs/www/include/picmgmt.inc.php on line 191
Warning: chmod(): No such file or directory in /data/members/paid/s/u/superlam.nl/htdocs/www/include/picmgmt.inc.php on line 191
Warning: getimagesize(): Unable to access albums/userpics/10001/thumb_DSC00001.jpg in /data/members/paid/s/u/superlam.nl/htdocs/www/include/picmgmt.inc.php on line 193
Warning: getimagesize(albums/userpics/10001/thumb_DSC00001.jpg): failed to open stream: No such file or directory in /data/members/paid/s/u/superlam.nl/htdocs/www/include/picmgmt.inc.php on line 193
I really am a php noob, so I hope you can explain as easy as possible what is wrong and what I have to do.
Thnx anyway!
-
Warning: exec, passthru, system, popen, show_source, php_uname, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, chgrp() has been disabled for security reasons in
seems like you can't use ImageMagick on your webspace. Before playing around with xp_publisher, did you manage to upload the "normal" way (using http upload)?
GauGau
-
seems like you can't use ImageMagick on your webspace. Before playing around with xp_publisher, did you manage to upload the "normal" way (using http upload)?
GauGau
No, I used the xp_publisher direct from the beginning. But it worked on an another account, but not anymore.
I'll reinstall IM and see if that helps.
-
Sorry for the double post, but reinstalling did not help. Same error while uploading.
-
please answer the question: can you upload over "regular" http upload? Can you use ftp-upload plus batch-add?
GauGau
-
please answer the question: can you upload over "regular" http upload?
While using CPG I can not upload anything, I get the same error.
But on another CPG it worked fine and also on other http upload stuff
Can you use ftp-upload plus batch-add?
No freakin' what you mean with that ???
-
I think the question is not if upload works on another coppermine install - we're refering to the install you're having problems with.
What are the exact error messages when you try to http-upload?
GauGau
P.S. Batch-add: see http://coppermine.sourceforge.net/manual.php#batch_add_pics (recommended reading anyway!)
-
When using the http upload on CPG I get these error messages:
The picture 'albums/userpics/10001/DSC00001.jpg' can't be inserted in the album
Unable to create thumbnail or reduced size image.
Warning: exec, passthru, system, popen, show_source, php_uname, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, chgrp() has been disabled for security reasons in /data/members/paid/s/u/superlam.nl/htdocs/www/include/picmgmt.inc.php on line 131
Warning: chmod(): Unable to access albums/userpics/10001/thumb_DSC00001.jpg in /data/members/paid/s/u/superlam.nl/htdocs/www/include/picmgmt.inc.php on line 191
Warning: chmod(): No such file or directory in /data/members/paid/s/u/superlam.nl/htdocs/www/include/picmgmt.inc.php on line 191
Warning: getimagesize(): Unable to access albums/userpics/10001/thumb_DSC00001.jpg in /data/members/paid/s/u/superlam.nl/htdocs/www/include/picmgmt.inc.php on line 193
Warning: getimagesize(albums/userpics/10001/thumb_DSC00001.jpg): failed to open stream: No such file or directory in /data/members/paid/s/u/superlam.nl/htdocs/www/include/picmgmt.inc.php on line 193
-
When Using the Batch -add option I can upload the files, I can see them when I open it using the exact url to the file.
But when I try to batch them I get this:
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.superlam.nl%2Fbatch.jpg&hash=486aece75e7ea22fd481c2a8d5989968c2183042)
As u can see the files are not showed and when I look in the album it says there are no files in the album
-
Have you switched to GD2 yet? You webhost has disabled the exec() function, which means you will not be able to use ImageMagick.
-
Have you switched to GD2 yet? You webhost has disabled the exec() function, which means you will not be able to use ImageMagick.
That's pretty weird, because it's payed Lycos account, and on the free lycos account it worked perfect ???
And no I haven't switched to GD2 yet, but I've read somewhere that my host should have that to because it's not my own server. :-\
-
Ok, this thread can be closed. I simply switched to GD2 in the config and XP Publish works perfectly know ::)
Thnx guys!!