CP 1.4.2; files are in database but not shown in album CP 1.4.2; files are in database but not shown in album
 

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

CP 1.4.2; files are in database but not shown in album

Started by gwion, March 24, 2006, 07:10:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gwion

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: ;

Joachim Müller


gwion

Quote
QuoteI 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:
QuoteOnce 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.

Joachim Müller

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

gwion

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.