Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: UPLOAD ERROR  (Read 3152 times)

0 Members and 1 Guest are viewing this topic.

burnblack

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
[Solved]: UPLOAD ERROR
« on: February 29, 2008, 01:27:59 am »

Iīm tryin to upload photos via URL but it is not uploading =s

USER:
------------------
Array
(
    [ID] => d2c7befcea60ace4cf3ba6f25338eee1
    [am] => 1
    [lang] => brazilian_portuguese
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => xxxx
    [groups] => Array
        (
           
  • => 1

        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 1
    [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] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0.001s)
  • [1] => select * from cpg14x_plugins order by priority asc; (0s)
        [2] => delete from `xx`.cpg14x_sessions where time<1204240720 and remember=0; (0s)
        [3] => delete from `xx`.cpg14x_sessions where time<1203034720; (0s)
        [4] => select user_id from `xxx`.cpg14x_sessions where session_id=md5("350f0218a0d7641748e0c86357415a3b0b4ac5048c265bd5e028050eb02ef819"); (0s)
        [5] => select user_id as id, user_password as password from `xxx`.cpg14x_users where user_id=1 (0.001s)
        [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `xxx`.cpg14x_users AS u INNER JOIN `xxx`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `xxx`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
        [8] => 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 cpg14x_usergroups WHERE group_id in (1) (0.001s)
        [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
        [10] => update `xxx`.cpg14x_sessions set time='1204244320' where session_id=md5('350f0218a0d7641748e0c86357415a3b0b4ac5048c265bd5e028050eb02ef819'); (0s)
        [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg14x_banned WHERE expiry < '2008-02-28 21:18:40' (0s)
        [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='1xxx' OR ip_addr='xxx' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT aid, title FROM cpg14x_albums WHERE category < 10000 ORDER BY title (0s)
        [15] => SELECT aid, title FROM cpg14x_albums WHERE category='10001' ORDER BY title (0s)
        [16] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
    )

    ==========================
    POST :
    ------------------
    Array
    (
       
[URI_array] => Array
        (
           
        )

    [control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.3 - OK
------------------
mySQL version: 5.0.45-log
------------------
Coppermine version: 1.4.16(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support:
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.16
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.2
Linked Version 1.2.2
==========================
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/local/php5/lib/php:/usr/local/lib/php | .:/usr/local/php5/lib/php:/usr/local/lib/php
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 | 7M | 7M
post_max_size | 8M | 8M
==========================
Page generated in 0.58 seconds - 17 queries in 0.003 seconds - Album set : ; Meta set: ;


remembering that i got changed the chmod to 777 in albums and include =\
itīs just not working :'(
can anyone help me?
« Last Edit: February 29, 2008, 07:42:04 am by Joachim Müller »
Logged

Nibbler

  • Guest
Re: UPLOAD ERROR
« Reply #1 on: February 29, 2008, 01:40:36 am »

It's probably disabled by your webhost. Check phpinfo.php for the allow_url_fopen setting.
Logged

burnblack

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: UPLOAD ERROR
« Reply #2 on: February 29, 2008, 01:48:48 am »

yes =\ thatīs what i think  >:(
i will check it and tell u
thanx  :-*
Logged

burnblack

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: UPLOAD ERROR
« Reply #3 on: February 29, 2008, 01:55:19 am »

canīt find it =\

<?php
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2008 Dev Team
  v1.1 originally written by Gregory DEMAR

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License version 3
  as published by the Free Software Foundation.
 
  ********************************************
  Coppermine version: 1.4.16
  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/phpinfo.php $
  $Revision: 4233 $
  $Author: gaugau $
  $Date: 2008-02-02 09:23:58 +0100 (Sa, 02 Feb 2008) $
**********************************************/

error_reporting (E_ALL ^ E_NOTICE);
define('IN_COPPERMINE', true);
define('PHPINFO_PHP', true);
require('include/init.inc.php');

$CONFIG['debug_mode']=0;

if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied']);

pageheader($lang_cpg_debug_output['phpinfo']);

ob_start();
phpinfo();
$string = ob_get_contents();
$string = strchr($string, '</style>');
$string = str_replace('</style>','',$string);
$string = str_replace('class="p"','',$string);
$string = str_replace('class="e"','class="tableb"',$string);
$string = str_replace('class="v"','class="tablef"',$string);
$string = str_replace('class="h"','class="tableh2"',$string);
$string = str_replace('class="center"','',$string);
ob_end_clean();

print '<div align="left" style="overflow:hidden;width:800px;text-align:left;">';
starttable('100%', $lang_phpinfo_php['php_info'], 1);
print '<tr><td class="tableb">';
print $lang_phpinfo_php['explanation'];
print '<br />';
print $lang_phpinfo_php['no_link'];
print '</td></tr>';
endtable();
print '<br />';


print $string;
print "</div>\n";


pagefooter();
ob_end_flush();

?>
Logged

Nibbler

  • Guest
Re: UPLOAD ERROR
« Reply #4 on: February 29, 2008, 02:16:16 am »

Check the page in your web browser, not the source code.
Logged

burnblack

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: UPLOAD ERROR
« Reply #5 on: February 29, 2008, 02:59:34 am »

itīs the server :-[

allow_url_fopen   Off   Off
Logged

burnblack

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: UPLOAD ERROR
« Reply #6 on: February 29, 2008, 03:01:10 am »

itīs the server :-[

allow_url_fopen   Off   Off


THANKS :D
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.