He entrado a este post:
http://forum.coppermine-gallery.net/index.php?topic=35093.0Y he activado el debug mode (supongo que para que me indique la clase de error):
http://coppermine-gallery.net/tutorial/debug_mode.phpY al entrar el error que me da es este:
Critical error
There was an error while processing a database query.
While executing query 'SELECT name, description, cid, thumb, depth, lft
FROM cpg14x_categories AS c
WHERE depth BETWEEN 0 + 1 AND 0 + 1
ORDER BY c.lft' in index.php on line 316
mySQL error: Unknown column 'depth' in 'field list'
File: /home/a7788959/public_html/include/functions.inc.php - Line: 263
..............................................
Luego al expandir el debug (en la página central), me sale esto:
USER:
------------------
Array
(
[ID] => c1f745581127cfab2985544c998b71f5
[am] => 1
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => efybv
[groups] => Array
(
)
[disk_max] => 0
[disk_min] => 0
[can_rate_pictures] => 1
[can_send_ecards] => 1
[can_post_comments] => 1
[can_upload_pictures] => 1
[can_create_albums] => 1
[has_admin_access] => 1
[access_level] => 3
[pub_upl_need_approval] => 0
[priv_upl_need_approval] => 0
[group_name] => Administrators
[group_quota] => 0
[can_see_all_albums] => 1
[group_id] => 1
[allowed_albums] => Array
(
)
)
==========================
Queries:
------------------
Array
(
- => SELECT name, value FROM cpg14x_config [include/init.inc.php:181] (1 ms)
[1] => SELECT * FROM cpg14x_plugins ORDER BY priority
[include/plugin_api.inc.php:53] (1 ms)
[2] => DELETE FROM `a7788959_efybv`.cpg14x_sessions WHERE time < 1291022332 AND remember = 0 [bridge/coppermine.inc.php:248] (1 ms)
[3] => DELETE FROM `a7788959_efybv`.cpg14x_sessions WHERE time < 1289816332 [bridge/coppermine.inc.php:252] (1 ms)
[4] => UPDATE cpg14x_config SET value = UNIX_TIMESTAMP() WHERE name = 'session_cleanup' [bridge/coppermine.inc.php:256] (1 ms)
[5] => SELECT user_id, time FROM `a7788959_efybv`.cpg14x_sessions WHERE session_id = '4e56bd1156d265b740b69098c8a0e120' [bridge/coppermine.inc.php:264] (1 ms)
[6] => SELECT user_id, user_password FROM `a7788959_efybv`.cpg14x_users WHERE user_id = 1 [bridge/coppermine.inc.php:276] (1 ms)
[7] => SELECT u.user_id AS id, u.user_name AS username, user_password AS password, u.user_group AS group_id FROM `a7788959_efybv`.cpg14x_users AS u LEFT JOIN `a7788959_efybv`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' [bridge/udb_base.inc.php:70] (1 ms)
[8] => SELECT user_group_list FROM `a7788959_efybv`.cpg14x_users AS u WHERE user_id='1' AND user_group_list <> '' [bridge/coppermine.inc.php:202] (1 ms)
[9] => SELECT MAX(group_quota) AS disk_max, MIN(group_quota) AS disk_min, MAX(can_rate_pictures) AS can_rate_pictures, MAX(can_send_ecards) AS can_send_ecards, MAX(can_post_comments) AS can_post_comments, MAX(can_upload_pictures) AS can_upload_pictures, MAX(can_create_albums) AS can_create_albums, MAX(has_admin_access) AS has_admin_access, MAX(access_level) AS access_level, MIN(pub_upl_need_approval) AS pub_upl_need_approval, MIN( priv_upl_need_approval) AS priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (1) [bridge/udb_base.inc.php:321] (1 ms)
[10] => SELECT group_name FROM cpg14x_usergroups WHERE group_id= 1 [bridge/udb_base.inc.php:325] (0 ms)
[11] => SELECT lang_id FROM cpg14x_languages WHERE enabled='YES' [include/init.inc.php:329] (1 ms)
[12] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 [include/init.inc.php:387] (37 ms)
[13] => SELECT null FROM cpg14x_banned WHERE (user_id=1 OR '217.127.170.199' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:459] (6 ms)
[14] => SELECT name, description, thumb FROM cpg14x_categories WHERE cid = 1 [index.php:268] (1 ms)
[15] => SELECT COUNT(DISTINCT(p.aid)) AS alb_count, COUNT(*) AS pic_count
FROM cpg14x_albums AS a
INNER JOIN cpg14x_pictures AS p ON p.aid = a.aid
WHERE a.category > 10000
AND approved = 'YES' [index.php:292] (1 ms)
[16] => SELECT name, description, cid, thumb, depth, lft
FROM cpg14x_categories AS c
WHERE depth BETWEEN 0 + 1 AND 0 + 1
ORDER BY c.lft [index.php:316] (0 ms)
[17] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' [include/functions.inc.php:2409] (1 ms)
[18] => SELECT lang_id, abbr FROM cpg14x_languages WHERE available='YES' AND enabled='YES' [include/themes.inc.php:2315] (1 ms)
[19] => SELECT message FROM cpg14x_temp_messages WHERE message_id = 'b3e267b022691eed605e8e506ba77e87' LIMIT 1 [include/functions.inc.php:4879] (243 ms)
[20] => DELETE FROM cpg14x_temp_messages WHERE message_id = 'b3e267b022691eed605e8e506ba77e87' [include/functions.inc.php:4890] (79 ms)
[21] => DELETE FROM cpg14x_temp_messages WHERE time < 1291022332 [include/functions.inc.php:4911] (52 ms)
)
==========================
GET :
------------------
Array
(
[message_id] => b3e267b022691eed605e8e506ba77e87
[message_icon] => success
)
==========================
POST :
------------------
Array
(
)
==========================
COOKIE :
------------------
Array
(
[cpg15x_data] => YTozOntzOjI6IklEIjtzOjMyOiIxODliYmVkODZmOWY0ZDg0ZmRlNmMxZTRjY2RmYzZjZSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJzcGFuaXNoIjt9
[coppermine_data] => YToyOntzOjI6IklEIjtzOjMyOiJjMWY3NDU1ODExMjdjZmFiMjk4NTU0NGM5OThiNzFmNSI7czoyOiJhbSI7aToxO30=
[d8d7fd1fa1560fdabeec113e032d4198] => ff24d9d193ee755f3f80b48ddc41e05c
)
==========================
VERSION INFO :
------------------
PHP version 5.2.11 OK
MySQL version 5.0.81-community OK
Coppermine version 1.5.8 stable
==========================
Module: GD
------------------
Exact version 2.0.34
GD Version bundled (2.0.34 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
XPM Support 1
XBM Support 1
JIS-mapped Japanese Font Support
==========================
Key config settings
------------------
site_url
http://efybv.webcindario.com/ charset utf-8
allow_private_albums 1
cookie_name coppermine
cookie_path /
impath
lang english
main_page_layout breadcrumb/catlist/alblist/lastup,2
silly_safe_mode
smtp_host
theme water_drop
thumb_method gd2
==========================
Plugins
------------------
==========================
Server restrictions
------------------
safe_mode
safe_mode_exec_dir
safe_mode_gid
safe_mode_include_dir
sql.safe_mode
disable_functions system, show_source, exec, shell_exec, proc_open, passthru, set_time_limit, ini_restore, mysql_list_dbs, ini_alter, dl, pfsockopen, openlog, syslog, symlink, link, chgrp, leak, popen, escapeshellcmd, apache_child_terminate, apache_get_modules, apache_get_version, apache_getenv, apache_note, apache_setenv, virtual, mb_send_mail
file_uploads 1
include_path .:/usr/lib/php:/usr/local/lib/php
open_basedir /home/:/usr/lib/php:/tmp
allow_url_fopen 1
max_execution_time 10
max_input_time 10
upload_max_filesize 2M
post_max_size 2M
memory_limit 32M
suhosin.post.max_vars 500
suhosin.request.max_vars 500
==========================
Page (performance)
------------------
Parameter Current Peak
Memory usage 2.87 MiB 4.15 MiB
Page generation 767 ms 767 ms
Page query time 432 ms 432 ms
Page query count 22 22
==========================
¿Sería lo mejor ir subiendo de nuevo las tablas de una a una?Sigo trampeando a ver...