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: PHP problem with album path  (Read 3012 times)

0 Members and 1 Guest are viewing this topic.

Ryu_wm

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
PHP problem with album path
« 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

Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: PHP problem with album path
« Reply #1 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]
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Ryu_wm

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: PHP problem with album path
« Reply #2 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 :(  )

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

ps : chmod ... yes  owned :lol:


thank you.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: PHP problem with album path
« Reply #3 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.
Logged

Ryu_wm

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: PHP problem with album path
« Reply #4 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 !
Logged
Pages: [1]   Go Up
 

Page created in 0.034 seconds with 20 queries.