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: CP 1.4.2; files are in database but not shown in album  (Read 3214 times)

0 Members and 1 Guest are viewing this topic.

gwion

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
CP 1.4.2; files are in database but not shown in album
« on: March 24, 2006, 07:10:05 pm »

I hope I have not overread something, I read through the docu, faq, stickies and some posts.
I am stuck with a maybe messed up database - files inclusive thumbs are in the album, batch upload tells they are in database already but they do not show up. Tried update thumbs, no result.
Tried delete album and create again hoping it would fetch the thumbs and images, no result.
Other batch uploads worked fine. If I can not fix it how can I delete the files? I read you should only delete via the cpanel but they do not show up there.
Permissions for albums have been to 755, also set to 777 later.

File size is no issue. And since it works fine with all other albums, also worked fine before I think I have messed up my database maybe by deleting something.

This is the link to the page in question, as you can see album 8 is empty while there should be images.

Don't know if this is needed, but that is a part of the debug info:

VERSION INFO :
------------------
PHP version: 4.4.1 - OK
------------------
mySQL version: 4.0.25-standard
------------------
Coppermine version: 1.4.2(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.0.25
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
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 | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 55M | 55M
==========================
Page generated in 4.551 seconds - 14 queries in 0.001 seconds - Album set : ; Meta set: ;
« Last Edit: March 29, 2006, 08:48:17 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CP 1.4.2; files are in database but not shown in album
« Reply #1 on: March 25, 2006, 06:49:03 pm »

I read you should only delete via the cpanel
Who said so? That's just plainly wrong.

Read http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble and do as suggested.
Logged

gwion

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: CP 1.4.2; files are in database but not shown in album
« Reply #2 on: March 28, 2006, 07:42:14 pm »

Quote
Quote
I read you should only delete via the cpanel
Who said so? That's just plainly wrong.

I know I am new and it can happen that I miss or misunderstand something but that does not mean I have not read the manual or a simple link to it is a help.  :/


FYI -  Manual 4.11.1. last paragraph:
Quote
Once files have been added to coppermine's database, make sure that you never rename or delete them via ftp - use coppermine's admin menu options to remove or rename files, instead. Only in this way will these files be removed from both the file system and the database.

So, if that is "plainly wrong" what is correct then? *confused*

Anyway, I don't have problems with upload. I have a problem with files that have been uploaded and should be directed to an album.
I am sorry, maybe I did express it wrong or not good enough.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CP 1.4.2; files are in database but not shown in album
« Reply #3 on: March 28, 2006, 11:44:23 pm »

coppermine user interface is not the same thing as cpanel. You said you have been using cpanel. You mustn't. The docs say to use the coppermine interface.
Do as I suggested an re-read the upload troubleshooting section in the docs, especially the stuff highlighted in red. If you fail to do so, then we won't be able to help.
Also upgrade to the most recent version cpg1.4.4
Logged

gwion

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: CP 1.4.2; files are in database but not shown in album
« Reply #4 on: March 29, 2006, 10:59:23 am »

With cpanel I meant the coppermine interface.
Sorry, my mistake.
The manual is no help but I managed to remove the files from the db via phpmyadmin.
Problem solved.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.