MY GOD I AM AT THE END OF MY PATIENTS... pain taking trouble shooting MY GOD I AM AT THE END OF MY PATIENTS... pain taking trouble shooting
 

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]

Main Menu

MY GOD I AM AT THE END OF MY PATIENTS... pain taking trouble shooting

Started by darkygod, July 17, 2006, 09:09:13 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

darkygod

Well i been trying to install a working coppermine image gallery... for days now....

just can't figure out what i am doing wrong....

i just can't bach upload files to album... each time diferent errors...

so here is my ls -al from the dir's:
/var/www/new-image-gallery# ls -al
total 1396
drwxr-xr-x 12 root     root       4096 2006-07-17 21:32 .
drwxr-xr-x  7 www-data www-data   4096 2006-07-17 21:32 ..
-rw-r--r--  1 root     root       3002 2006-06-08 00:23 addfav.php
-rw-r--r--  1 root     root       2380 2006-06-08 00:23 addpic.php
-rw-r--r--  1 root     root      35108 2006-06-08 00:23 admin.php
-rw-r--r--  1 root     root      15821 2006-06-08 00:23 albmgr.php
drwxrwxrwx  5 root     root       4096 2006-07-17 21:49 albums
-rw-r--r--  1 root     root       1449 2006-06-08 00:23 anycontent.php
-rw-r--r--  1 root     root      15612 2006-06-08 00:23 banning.php
drwxr-xr-x  2 root     root       4096 2006-07-17 21:31 bridge
-rw-r--r--  1 root     root      73278 2006-06-08 00:23 bridgemgr.php
-rw-r--r--  1 root     root      17139 2006-06-08 00:23 calendar.php
-rw-r--r--  1 root     root      20566 2006-06-08 00:23 catmgr.php
-rw-r--r--  1 root     root      33210 2006-06-08 00:23 CHANGELOG
-rw-r--r--  1 root     root      12003 2006-06-08 00:23 charsetmgr.php
-rw-r--r--  1 root     root       1429 2006-06-08 00:23 config.php
-rw-r--r--  1 root     root      15409 2006-06-05 14:07 COPYING
-rw-r--r--  1 root     root      13342 2006-06-08 00:23 db_ecard.php
-rw-r--r--  1 root     root      23276 2006-06-08 00:23 db_input.php
-rw-r--r--  1 root     root      37672 2006-06-08 00:23 delete.php
-rw-r--r--  1 root     root       2597 2006-06-08 00:23 displayecard.php
-rw-r--r--  1 root     root      15701 2006-06-08 00:23 displayimage.php
-rw-r--r--  1 root     root       3411 2006-06-08 00:23 displayreport.php
drwxr-xr-x  4 root     root       4096 2006-07-17 21:31 docs
-rw-r--r--  1 root     root      13275 2006-06-08 00:24 ecard.php
-rw-r--r--  1 root     root      19815 2006-06-08 00:24 editOnePic.php
-rw-r--r--  1 root     root      29372 2006-06-08 00:24 editpics.php
-rw-r--r--  1 root     root       4417 2006-06-08 00:24 exifmgr.php
-rw-r--r--  1 root     root       2397 2006-06-08 00:24 faq.php
-rw-r--r--  1 root     root       7027 2006-06-08 00:24 forgot_passwd.php
-rw-r--r--  1 root     root       1806 2006-06-08 00:24 getlang.php
-rw-r--r--  1 root     root      19694 2006-06-08 00:24 groupmgr.php
-rw-r--r--  1 root     root      41204 2006-06-08 00:24 image_processor.php
drwxr-xr-x  4 root     root       4096 2006-07-17 21:31 images
drwxrwxrwx  3 root     root       4096 2006-07-17 21:45 include
-rw-r--r--  1 root     root      40832 2006-06-08 00:24 index.php
-rw-r--r--  1 root     root       3667 2006-06-08 00:24 installer.css
-rw-r--r--  1 root     root      27064 2006-06-08 00:24 install.php
-rw-r--r--  1 root     root       2763 2006-06-08 00:24 keyword_create_dict.php
-rw-r--r--  1 root     root       6329 2006-06-08 00:24 keywordmgr.php
-rw-r--r--  1 root     root       3728 2006-06-08 00:24 keyword_select.php
drwxr-xr-x  2 root     root       4096 2006-07-17 21:31 lang
-rw-r--r--  1 root     root       5430 2006-06-08 00:25 login.php
-rw-r--r--  1 root     root       1398 2006-06-08 00:25 logout.php
drwxr-xr-x  2 root     root       4096 2006-07-17 21:31 logs
-rw-r--r--  1 root     root       9755 2006-06-08 00:25 minibrowser.php
-rw-r--r--  1 root     root       1716 2006-06-08 00:25 mode.php
-rw-r--r--  1 root     root      22898 2006-06-08 00:25 modifyalb.php
-rw-r--r--  1 root     root       1809 2006-06-08 00:25 phpinfo.php
-rw-r--r--  1 root     root      28619 2006-06-08 00:25 picEditor.php
-rw-r--r--  1 root     root      16076 2006-06-08 00:25 picmgr.php
-rw-r--r--  1 root     root      13468 2006-06-08 00:25 pluginmgr.php
drwxr-xr-x  4 root     root       4096 2006-07-17 21:31 plugins
-rw-r--r--  1 root     root      19907 2006-06-08 00:25 profile.php
-rw-r--r--  1 root     root       5045 2006-06-08 00:25 ratepic.php
-rw-r--r--  1 root     root      12906 2006-06-08 00:23 README.txt
-rw-r--r--  1 root     root      16472 2006-06-08 00:25 register.php
-rw-r--r--  1 root     root       1475 2006-06-08 00:25 relocate_server.php
-rw-r--r--  1 root     root      14732 2006-06-08 00:25 report_file.php
-rw-r--r--  1 root     root      10894 2006-06-08 00:25 reviewcom.php
-rw-r--r--  1 root     root       5193 2006-06-08 00:25 scripts.js
-rw-r--r--  1 root     root      26757 2006-06-08 00:25 searchnew.php
-rw-r--r--  1 root     root       5947 2006-06-08 00:25 search.php
-rw-r--r--  1 root     root       4409 2006-06-08 00:25 showthumb.php
drwxr-xr-x  2 root     root       4096 2006-07-17 21:31 sql
-rw-r--r--  1 root     root      11205 2006-06-08 00:25 stat_details.php
drwxr-xr-x 12 root     root       4096 2006-07-17 21:31 themes
-rw-r--r--  1 root     root      10255 2006-06-08 00:25 thumbnails.php
-rw-r--r--  1 root     root       6914 2006-06-08 00:25 update.php
-rw-r--r--  1 root     root       3084 2006-06-08 00:25 upgrade-1.0-to-1.2.php
-rw-r--r--  1 root     root     100119 2006-06-08 00:25 upload.php
-rw-r--r--  1 root     root      37617 2006-06-08 00:25 usermgr.php
-rw-r--r--  1 root     root      25622 2006-06-08 00:25 util.php
-rw-r--r--  1 root     root     213501 2006-06-08 01:31 versioncheck.php
-rw-r--r--  1 root     root       4706 2006-06-08 00:25 viewlog.php
-rw-r--r--  1 root     root      31354 2006-06-08 00:25 xp_publish.php
-rw-r--r--  1 root     root       1914 2006-06-08 00:25 zipdownload.php





And here is my ls from inside of albums dir:
/var/www/new-image-gallery/albums# ls -al
total 24
drwxrwxrwx  5 root   root   4096 2006-07-17 21:49 .
drwxr-xr-x 12 root   root   4096 2006-07-17 21:32 ..
drwxr-xr-x  2 ftpgod ftpgod 4096 2006-05-11 21:50 CrossLinK
drwxrwxrwx  2 root   root   4096 2006-07-17 21:31 edit
-rwxrwxrwx  1 root   root   1376 2006-06-05 14:05 index.php
drwxrwxrwx  2 root   root   4096 2006-07-17 21:45 userpics


here is my page the admin acount:
  - username: [removed]
  - password: [removed]

http://kjd.dnttm.ro/new-image-gallery/

as you see there is a directory in the albums named Crosslink .... it contains 3 pictures.... i cant add them to any album ....

i have set up a new album "10 eves talakozo"

This is a fresh install ... and dose the same error as my old install :
http://kjd.dnttm.ro/image-gallery

i am incapable to figure out what the problem is ...


Nibbler

albums/CrossLinK is not writable. Coppermine can't create thumbs if the folder is not writable, and tells you this when you attempt to batch add - 'Warning: the script can't write in this directory, you need to change its mode to 755 or 777 before trying to add the files !'.

Don't post an admin account on a public forum.

darkygod

ok you where right ...
that solved it on the new instalation....

Now, on the old one.. i have a simbolik link to the real album directory witch is located on another hdd (where the ftp server is located)

ps: i only posted an admin acount cus i don't care what happens with that install and pictures that are in it.

look:

/var/www/image-gallery# ls -l
total 1384
-rw-r--r--  1 www-data www-data   3002 2006-06-08 00:23 addfav.php
-rw-r--r--  1 www-data www-data   2380 2006-06-08 00:23 addpic.php
-rw-r--r--  1 www-data www-data  35108 2006-06-08 00:23 admin.php
-rw-r--r--  1 www-data www-data  15821 2006-06-08 00:23 albmgr.php
lrwxrwxrwx  1 root     root         16 2006-07-17 08:31 albums -> /home/ftp/albums
-rw-r--r--  1 www-data www-data   1449 2006-06-08 00:23 anycontent.php
-rw-r--r--  1 www-data www-data  15612 2006-06-08 00:23 banning.php
drwxr-xr-x  2 www-data www-data   4096 2006-06-08 01:42 bridge
-rw-r--r--  1 www-data www-data  73278 2006-06-08 00:23 bridgemgr.php
-rw-r--r--  1 www-data www-data  17139 2006-06-08 00:23 calendar.php
-rw-r--r--  1 www-data www-data  20566 2006-06-08 00:23 catmgr.php
-rw-r--r--  1 www-data www-data  33210 2006-06-08 00:23 CHANGELOG
-rw-r--r--  1 www-data www-data  12003 2006-06-08 00:23 charsetmgr.php
-rw-r--r--  1 www-data www-data   1429 2006-06-08 00:23 config.php
-rw-r--r--  1 www-data www-data  15409 2006-06-05 14:07 COPYING
-rw-r--r--  1 www-data www-data  13342 2006-06-08 00:23 db_ecard.php
-rw-r--r--  1 www-data www-data  23276 2006-06-08 00:23 db_input.php
-rw-r--r--  1 www-data www-data  37672 2006-06-08 00:23 delete.php
-rw-r--r--  1 www-data www-data   2597 2006-06-08 00:23 displayecard.php
-rw-r--r--  1 www-data www-data  15701 2006-06-08 00:23 displayimage.php
-rw-r--r--  1 www-data www-data   3411 2006-06-08 00:23 displayreport.php
drwxr-xr-x  4 www-data www-data   4096 2006-06-08 01:42 docs
-rw-r--r--  1 www-data www-data  13275 2006-06-08 00:24 ecard.php
-rw-r--r--  1 www-data www-data  19815 2006-06-08 00:24 editOnePic.php
-rw-r--r--  1 www-data www-data  29372 2006-06-08 00:24 editpics.php
-rw-r--r--  1 www-data www-data   4417 2006-06-08 00:24 exifmgr.php
-rw-r--r--  1 www-data www-data   2397 2006-06-08 00:24 faq.php
-rw-r--r--  1 www-data www-data   7027 2006-06-08 00:24 forgot_passwd.php
-rw-r--r--  1 www-data www-data   1806 2006-06-08 00:24 getlang.php
-rw-r--r--  1 www-data www-data  19694 2006-06-08 00:24 groupmgr.php
-rw-r--r--  1 www-data www-data  41204 2006-06-08 00:24 image_processor.php
drwxr-xr-x  4 www-data www-data   4096 2006-06-08 01:42 images
drwxrwxrwx  3 www-data www-data   4096 2006-06-19 22:20 include
-rw-r--r--  1 www-data www-data  40832 2006-06-08 00:24 index.php
-rw-r--r--  1 www-data www-data   3667 2006-06-08 00:24 installer.css
-rw-r--r--  1 www-data www-data  27064 2006-06-08 00:24 install.php
-rw-r--r--  1 www-data www-data   2763 2006-06-08 00:24 keyword_create_dict.php
-rw-r--r--  1 www-data www-data   6329 2006-06-08 00:24 keywordmgr.php
-rw-r--r--  1 www-data www-data   3728 2006-06-08 00:24 keyword_select.php
drwxr-xr-x  2 www-data www-data   4096 2006-06-08 01:41 lang
-rw-r--r--  1 www-data www-data   5430 2006-06-08 00:25 login.php
-rw-r--r--  1 www-data www-data   1398 2006-06-08 00:25 logout.php
drwxr-xr-x  2 www-data www-data   4096 2006-07-17 21:27 logs
-rw-r--r--  1 www-data www-data   9755 2006-06-08 00:25 minibrowser.php
-rw-r--r--  1 www-data www-data   1716 2006-06-08 00:25 mode.php
-rw-r--r--  1 www-data www-data  22898 2006-06-08 00:25 modifyalb.php
-rw-r--r--  1 www-data www-data   1809 2006-06-08 00:25 phpinfo.php
-rw-r--r--  1 www-data www-data  28619 2006-06-08 00:25 picEditor.php
-rw-r--r--  1 www-data www-data  16076 2006-06-08 00:25 picmgr.php
-rw-r--r--  1 www-data www-data  13468 2006-06-08 00:25 pluginmgr.php
drwxr-xr-x  4 www-data www-data   4096 2006-06-08 01:41 plugins
-rw-r--r--  1 www-data www-data  19907 2006-06-08 00:25 profile.php
-rw-r--r--  1 www-data www-data   5045 2006-06-08 00:25 ratepic.php
-rw-r--r--  1 www-data www-data  12906 2006-06-08 00:23 README.txt
-rw-r--r--  1 www-data www-data  16472 2006-06-08 00:25 register.php
-rw-r--r--  1 www-data www-data   1475 2006-06-08 00:25 relocate_server.php
-rw-r--r--  1 www-data www-data  14732 2006-06-08 00:25 report_file.php
-rw-r--r--  1 www-data www-data  10894 2006-06-08 00:25 reviewcom.php
-rw-r--r--  1 www-data www-data   5193 2006-06-08 00:25 scripts.js
-rw-r--r--  1 www-data www-data  26757 2006-06-08 00:25 searchnew.php
-rw-r--r--  1 www-data www-data   5947 2006-06-08 00:25 search.php
-rw-r--r--  1 www-data www-data   4409 2006-06-08 00:25 showthumb.php
drwxr-xr-x  2 www-data www-data   4096 2006-06-08 01:41 sql
-rw-r--r--  1 www-data www-data  11205 2006-06-08 00:25 stat_details.php
drwxr-xr-x 12 www-data www-data   4096 2006-06-08 01:41 themes
-rw-r--r--  1 www-data www-data  10255 2006-06-08 00:25 thumbnails.php
-rw-r--r--  1 www-data www-data   6914 2006-06-08 00:25 update.php
-rw-r--r--  1 www-data www-data   3084 2006-06-08 00:25 upgrade-1.0-to-1.2.php
-rw-r--r--  1 www-data www-data 100119 2006-06-08 00:25 upload.php
-rw-r--r--  1 www-data www-data  37617 2006-06-08 00:25 usermgr.php
-rw-r--r--  1 www-data www-data  25622 2006-06-08 00:25 util.php
-rw-r--r--  1 www-data www-data 213501 2006-06-08 01:31 versioncheck.php
-rw-r--r--  1 www-data www-data   4706 2006-06-08 00:25 viewlog.php
-rw-r--r--  1 www-data www-data  31354 2006-06-08 00:25 xp_publish.php
-rw-r--r--  1 www-data www-data   1914 2006-06-08 00:25 zipdownload.php



the ls from the album directory:
/var/www/image-gallery/albums# ls -l
total 16
drwxrwxrwx  2 ftpgod ftpgod 4096 2006-06-19 22:37 edit
-rwxrwxrwx  1 ftpgod ftpgod 1376 2006-06-05 14:05 index.php
drwxrwxrwx 19 ftpgod ftpgod 4096 2006-07-17 13:49 POZE-KEPEK
drwxrwxrwx  2 ftpgod ftpgod 4096 2006-06-19 22:20 userpics

at this instalation it gives me the PB error...

i have the following user:
  - username: friends
  - password:  enter

the page: http://kjd.dnttm.ro/image-gallery/

so here at the moment i have a directory POZE-KEPEK .... whitch is full with pictures.... and this time i ensured that the files are writable.. actually after executing the bach-add .. the selected images don't get put in an album.... but they are erased from there directory.... :(


Joachim Müller

Quote from: darkygod on July 17, 2006, 09:53:39 PM
ps: i only posted an admin acount cus i don't care what happens with that install and pictures that are in it.
I (or anyone else having the skills) could have taken over the entire server, or could have left a backdoor. Posting an admin account is a bad idea - always!
Self-hosting is not recommended if you're not a very skilled and experienced server admin. I'm afraid I have to say that you don't appear to fall into that category.