PHP problem with album path PHP problem with album path
 

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

PHP problem with album path

Started by Ryu_wm, February 24, 2010, 06:41:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ryu_wm

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


phill104

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]
It is a mistake to think you can solve any major problems just with potatoes.

Ryu_wm

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.

Joachim Müller

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.

Ryu_wm

er ... here's an exemple of another coppermine on a WAMP ( NT5.1 ) and batch upload works fine !