Local Server install issue Local Server install issue
 

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

Main Menu

Local Server install issue

Started by ss3vegeta, February 01, 2009, 09:18:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ss3vegeta

First I apologize if anyone feels this is not the correct forum, this is an issue I've discovered by doing a migration, however I subsequently tried a fresh install and get the same issue.  I'm not sure if this is a coppermine issue or if it is more of a server setup issue.

I migrated from a paid webhosting company to a WAMP setup I'm hosting from home.  There is no point posting a URL, because I haven't gotten to the stage of setting up the dynamic DNS yet, so there is no internet access yet.  The issue I have is that when I go to batch edit files I get the following:

Quote
Select directory 
   This function allows you to add a batch of files that your have uploaded to your server by FTP.
      please select a directory
         /D:\wamp\htdocs\sitename\coppermine\albums/
      There are no folders inside the "albums" folder yet. Make sure to create at least one custom folder within "albums" folder and ftp-upload your files there. You mustn't upload to the "userpics" nor "edit" folders, they are reserved for http uploads and internal purposes.
   Select the directory where you have uploaded your files.
Browsable interface (recommended)    Yes    No

If I go to the browsable interface I can see all of the albums with no issue, however when I add the albums the pictures it for some reason adds every picture twice.  I have modified all album permissions to 777 to test but it hasn't made a difference.  To me it seems like the issue has to do with /D:\wamp\htdocs\sitename\coppermine\albums/  it is the correct directory, but I'm not sure if that /D:\ is messing things up.  I read through the rules and I think I've included all the info that is required.  If not please let me know.

The WAMP has:
# Apache HTTPD 2.2.11 + Openssl 0.9.8i
# MySQL 5.1.30
# PHP 5.2.8
# phpMyAdmin 3.1.1

DEBUG INFO:
USER:
------------------
Array
(
    [ID] => e9338e6ddce31f6770fcf96229f85e7d
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => biff
    [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 cpg14x_filetypes; (0.002s)
    [1] => select * from cpg14x_plugins order by priority asc; (0.001s)
    [2] => delete from `cpgTest`.cpg14x_sessions where time<1232910611 and remember=0; (0.001s)
    [3] => delete from `cpgTest`.cpg14x_sessions where time<1231704611; (0.001s)
    [4] => select user_id from `cpgTest`.cpg14x_sessions where session_id = 'd8ecd0157b4a21d1fd21400e1139ebaf' (0.001s)
    [5] => select user_id as id, user_password as password from `cpgTest`.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 `cpgTest`.cpg14x_users AS u INNER JOIN `cpgTest`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.002s)
    [7] => SELECT user_group_list FROM `cpgTest`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0.001s)
    [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 (0.001s)
    [10] => update `cpgTest`.cpg14x_sessions set time='1232914211' where session_id = 'd8ecd0157b4a21d1fd21400e1139ebaf' (0.002s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0.001s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2009-01-25 20:10:11' (0.001s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='192.168.0.1' OR ip_addr='192.168.0.1' OR user_id=1) AND brute_force=0 (0.001s)
    [14] => SELECT aid, title FROM cpg14x_albums WHERE 1 (0.001s)
    [15] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0.001s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 5.2.8 - OK
------------------
mySQL version: 5.1.30-community
------------------
Coppermine version: 1.4.19(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
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.1.30
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
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 | 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 | .;D:\wamp\php\pear\ | .;D:\wamp\php\pear\
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | no value | no value
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 6000 | 6000
max_input_time | 3000 | 3000
upload_max_filesize | 64M | 64M
post_max_size | 64M | 64M
==========================
Page generated in 0.442 seconds - 16 queries in 0.019 seconds - Album set : ; Meta set: ;


NOTICES:
\searchnew.php

    * Notice line 577: Undefined variable: iframe_startfolder


Any advice or help is greatly appreciated. 

Thanks,

ss3

Nibbler

Browsable batch add does not work on windows servers. It's a known issue.

For the dupes, give the fix mentioned in http://forum.coppermine-gallery.net/index.php/topic,57717.0.html a try.

ss3vegeta

Your answer is very short and to the point.  I like it.  The fix you point out does in fact resolve the double pic issue. 

Thank you Nibbler.

ss3

MrMastah

For a hack to fix the browsable batch add interface, check this thread: http://coppermine-gallery.net/forum/index.php?topic=30799.0
I've been using that one since 2006 and it still works! :)