Advanced search  

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

Pages: [1]   Go Down

Author Topic: [Solved]: Critical Error when uploading  (Read 4677 times)

0 Members and 1 Guest are viewing this topic.

Solc

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
[Solved]: Critical Error when uploading
« 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:

Quote from: 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)
Quote
Quote

And this is the critical error I get when uploading a single file:

Quote from: Critical error
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
Quote

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!
« Last Edit: April 24, 2004, 12:27:08 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Critical Error when uploading
« Reply #1 on: April 23, 2004, 02:43:27 pm »

Quote
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
Logged

Solc

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Critical Error when uploading
« Reply #2 on: April 23, 2004, 02:55:07 pm »

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.
Logged

Solc

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Critical Error when uploading
« Reply #3 on: April 23, 2004, 03:00:56 pm »

Sorry for the double post, but reinstalling did not help. Same error while uploading.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Critical Error when uploading
« Reply #4 on: April 23, 2004, 03:27:12 pm »

please answer the question: can you upload over "regular" http upload? Can you use ftp-upload plus batch-add?

GauGau
Logged

Solc

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Critical Error when uploading
« Reply #5 on: April 23, 2004, 03:58:51 pm »

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  ???
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Critical Error when uploading
« Reply #6 on: April 23, 2004, 04:21:23 pm »

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!)
Logged

Solc

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Critical Error when uploading
« Reply #7 on: April 23, 2004, 04:30:21 pm »


When using the http upload on CPG I get these error messages:

Quote from: errors
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
Quote
Logged

Solc

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Critical Error when uploading
« Reply #8 on: April 23, 2004, 04:39:04 pm »

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:

(http://www.superlam.nl/batch.jpg)

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
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Re: Critical Error when uploading
« Reply #9 on: April 23, 2004, 06:41:32 pm »

Have you switched to GD2 yet?  You webhost has disabled the exec() function, which means you will not be able to use ImageMagick.
Logged
&quot;Then, Fletch,&quot; that bright creature said to him, and the voice was very kind, &quot;let&#039;s begin with level flight . . . .&quot;

-Richard Bach, Jonathan Livingston Seagull

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

Solc

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Critical Error when uploading
« Reply #10 on: April 23, 2004, 07:59:15 pm »

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.  :-\
Logged

Solc

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Critical Error when uploading
« Reply #11 on: April 23, 2004, 08:23:14 pm »

Ok, this thread can be closed. I simply switched to GD2 in the config and XP Publish works perfectly know  ::)
Thnx guys!!
Logged
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 20 queries.