coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Ryu_wm on February 24, 2010, 06:41:20 PM

Title: PHP problem with album path
Post by: Ryu_wm on February 24, 2010, 06:41:20 PM
Hello everybody

i spent many hours reading this forum and the differents docs before asking this question as i found nothing to help me

first be aware i already installed succesfully many coppermine galeries on NT5.1+Apache 2.x and unixlikes+Apache 2.x

BUT this time i have a problem with a NT5 ( 2000 workstation ) + php 5.2.8 + Apache 2.2.11
coppermine path = c:/www/cop/

Coppermine install is OK
BUT when under admin, when i want to uplad with the "FTP" button i've got this error :
there's no subdirectories in the directory album ...
and the given path is : /C:\www\cop\albums/

there's a mix with "\" and "/" i don't understand, and why a "/" before "c:\....."

i even searched in php.ini but found nothing really wrong
used FTP to chmod 777 to \albums\ and subdirectories
found some hints to modify \include\init.inc.php ( $PHP_SELF and $SERVER vars )

but ... nothing

this is the first time i fail ^^

thank you for any idea

Title: Re: PHP problem with album path
Post by: phill104 on February 24, 2010, 06:50:59 PM
A link to your site would help.

Do regular uploads work OK? What ftp button? Are you using th batch add process or are you on about the XP Publisher?

Are you self hosting (not recommended)?

[Pedant mode] Chmod is a unix term and not relavent to a windows server  ;)[/Pedant mode]
Title: Re: PHP problem with album path
Post by: Ryu_wm on February 24, 2010, 07:05:19 PM
Sorry

http://bcc5-328.selfip.info/cop/index.php
user guest/guest

1° yes self hosting as this is not the only function of the "server"

2° yes regular uploads are OK ( see attachement 1 )

3° for the FTP button, see attachement 2 ( sorry even with cookies deletion can't get back to english langage :(  )

QuoteAre you using th batch add process or are you on about the XP Publisher?
surely batch ??

ps : chmod ... yes  owned :lol:


thank you.
Title: Re: PHP problem with album path
Post by: Joachim Müller on February 24, 2010, 07:27:13 PM
You can't use the browsable batch-add interface on Windows-driven servers - that's a documented known issue. Use the classic interface or use a real webserver.
Title: Re: PHP problem with album path
Post by: Ryu_wm on February 24, 2010, 07:37:20 PM
er ... here's an exemple of another coppermine on a WAMP ( NT5.1 ) and batch upload works fine !