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: URI/URL not functioning - have read forum  (Read 5487 times)

0 Members and 1 Guest are viewing this topic.

mrmadadam

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
URI/URL not functioning - have read forum
« on: May 13, 2010, 02:44:01 pm »

Hi

My URI/URL function isnt working, and I don't know why!

I have read the documentation and installed the correct files.  I have also changed the permissions in /albums/ from 755 to 777.

I have searched the forum too and many similar topics had "allow_url_fopen" set to "off"....yet mine is set to "on" (http://www.musedrums.co.uk/gallery/phpinfo.php)

I have followed the "upload troubleshooting", enabled debug mode and set URI to 1....yet my lack of php knowledge has got me stumped!

Please can someone advise me on what I need to do to get this function working?

Many thanks

Adam

http://www.musedrums.co.uk/gallery

U: test
P: test1
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: URI/URL not functioning - have read forum
« Reply #1 on: May 13, 2010, 03:13:34 pm »

1) You need to upgrade first. Older versions are not supported and your gallery is at risk.
<!--Coppermine Photo Gallery 1.4.20 (stable)-->
Use the download link above to get the latest stable version. Use Documentation for instructions.

2) When I logged on to take a look at your uploads screen this was what your gallery replied with
Quote
Sorry there is no album where you are allowed to upload files 

Re-read your docs, upgrade, set some permissions and someone might be able to help.

mrmadadam

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: URI/URL not functioning - have read forum
« Reply #2 on: May 13, 2010, 03:40:30 pm »

1) You need to upgrade first. Older versions are not supported and your gallery is at risk.
<!--Coppermine Photo Gallery 1.4.20 (stable)-->
Use the download link above to get the latest stable version. Use Documentation for instructions.

2) When I logged on to take a look at your uploads screen this was what your gallery replied with
Re-read your docs, upgrade, set some permissions and someone might be able to help.

Thanks for a speedy reply

According to "http://www.musedrums.co.uk/gallery/versioncheck.php" i already have version 1.4.20.... "Installed Coppermine version
You have currently installed: 1.4.20 "

and the latest version is 1.4.26..is that right?  is that stable?

And as for the logging in...yeah why is it doing that!?! :S

The "Registered" group (which test is under), is set to "allowed" in the "public albums upload"...

(after searching the forum seems that a lot of people have had that error too!)

So I should upgrade to 1.4.26, yes?
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: URI/URL not functioning - have read forum
« Reply #3 on: May 13, 2010, 03:55:55 pm »

The album permissions thing is all in the docs. The reason lots of people have the same problem is because they miss that part of the docs too.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#album_prop

Upgrade then we can help you with your first problem.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

143flyers

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: URI/URL not functioning - have read forum
« Reply #4 on: May 18, 2010, 04:15:57 am »

I too can't upload any photos. I enabled the debug and this is what it says:


USER:
------------------
Array
(
    [ID] => 87ecec0a604974592cb461eb75907830
    [am] => 1
    [lang] => english
    [search] => Array
        (
            [search] => asham
            [album] => search
            [title] => on
            [newer_than] =>
            [caption] => on
            [older_than] =>
            [keywords] => on
            [type] => AND
            [params] => Array
                (
                    [title] => on
                    [caption] => on
                    [keywords] => on
                )

        )

)

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

        )

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

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg_filetypes; (0.001s)
  • [1] => select * from cpg_plugins order by priority asc; (0.002s)
        [2] => delete from `phi1013705385598`.cpg_sessions where time<1274144614 and remember=0; (0.001s)
        [3] => delete from `phi1013705385598`.cpg_sessions where time<1272938614; (0.003s)
        [4] => select user_id from `phi1013705385598`.cpg_sessions where session_id = 'a126583869367316dbe33430661c6345' (0.001s)
        [5] => select user_id as id, user_password as password from `phi1013705385598`.cpg_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 `phi1013705385598`.cpg_users AS u INNER JOIN `phi1013705385598`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
        [7] => SELECT user_group_list FROM `phi1013705385598`.cpg_users AS u WHERE user_id='1' and user_group_list <> ''; (0.002s)
        [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 cpg_usergroups WHERE group_id in (1) (0.002s)
        [9] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0.003s)
        [10] => update `phi1013705385598`.cpg_sessions set time='1274148214' where session_id = 'a126583869367316dbe33430661c6345' (0.003s)
        [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0.001s)
        [12] => DELETE FROM cpg_banned WHERE expiry < '2010-05-17 19:03:34' (0.001s)
        [13] => SELECT * FROM cpg_banned WHERE (ip_addr='69.249.197.40' OR ip_addr='69.249.197.40' OR user_id=1) AND brute_force=0 (0.001s)
        [14] => SELECT aid, title FROM cpg_albums WHERE category < 10000 ORDER BY title (0.001s)
        [15] => SELECT aid, title FROM cpg_albums WHERE category='10001' ORDER BY title (0.001s)
        [16] => DELETE FROM cpg_temp_data WHERE timestamp < 1274144614 (0.001s)
        [17] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0.001s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.11 - OK
    ------------------
    mySQL version: 5.0.86-log
    ------------------
    Coppermine version: 1.4.26(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 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
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 5.0.18
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /usr/local/mysql-5.0/data/mysql.sock
    MYSQL_INCLUDE -I/usr/local/mysql-5.0/include/mysql
    MYSQL_LIBS -L/usr/local/mysql-5.0/lib/mysql -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.1.4
    Linked Version 1.2.3
    ==========================
    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 | ~ | ~
    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/lib/php | .:/usr/local/lib/php
    open_basedir | no value | 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 | relay-hosting.secureserver.net | relay-hosting.secureserver.net
    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 | 8M | 8M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.28 seconds - 18 queries in 0.027 seconds - Album set : ; Meta set: ;
Logged

onthepike

  • Guest
Re: URI/URL not functioning - have read forum
« Reply #5 on: May 18, 2010, 06:55:35 am »

I too can't upload any photos. I enabled the debug and this is what it says:

Board rules / Forum policies: Post Links
Board rules / Forum policies: One Question per Thread
Board rules / Forum policies: Search the Board
Board rules / Forum policies: Read the Documentation
FAQ: Trouble-shooting the upload process
Documentation: 4.11.4 Upload troubleshooting

4.11.5 Asking for support on upload issues

When asking for support on the coppermine forum, post a link to your site and a test user account (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested. If you want fast results, you should disable admin approval for the group the test user is in, so supporters can tell instantly what is wrong without needing to double-check.

When people have issues with uploading and decide to post their question on the Coppermine support board, they usually are told to read this upload troubleshooting section. Many of them fail to do so properly, which results in frustration both for users as well as supporters. To make this absolutely clear: the above mentioned steps are absolutely mandatory, no matter what skill level you have, no matter what upload method you have troubles with. Failing to do exactly as suggested will result in your request for help being ignored. Yes, this applies to you. We mean it!
« Last Edit: May 18, 2010, 07:41:13 am by Joachim Müller »
Logged

mrmadadam

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: URI/URL not functioning - have read forum
« Reply #6 on: May 18, 2010, 12:03:21 pm »

I havent had time to upload the newer version yet - I've been at work!

I will let you know when I have.

Please bear with me.

Thanks
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 19 queries.