De cateva zile mi-am luat sursa infoarena de pe svn, am instalat-o, si imi da urmatoarea eroare cand incerc sa accesez /infoarena/trunk/www din browser, care se redirecteaza in www/index.php in mod normal, in urma setarilor din apache.
Fatal: >>>Error: MYSQL error: Unknown column 'remote_ip_info' in 'field list'<<<
Printing full backtrace:
Backtrace Level 1: function log_error file common/log.php line 133
Backtrace Level 2: function db_query file common/db/db_mysql.php line 104
Backtrace Level 3: function db_fetch_all file common/db/db.php line 15
Backtrace Level 4: function textblock_complex_query file common/db/textblock.php line 122
Backtrace Level 5: function textblock_get_revision file common/db/textblock.php line 139
Backtrace Level 6: function controller_textblock_view file www/controllers/textblock.php line 16
Backtrace Level 7: file www/index.php line 249
Full server log:
- -- --- ---- ----- Request:
finfo_open missing, falling back to mime_content_type.
mime_content_type missing, mime-types will default to application/octet-stream.
Query: 'SELECT `name`, `title`, `creation_timestamp`, `timestamp`, `security`, `user_id`,
`forum_topic`, `remote_ip_info`, `text` FROM ia_textblock
WHERE `name` = 'home' ORDER BY ia_textblock.`creation_timestamp` ASC'
Pun aici cum am instalat exact:
linux-fk7c:/srv/www/htdocs/infoarena/trunk # ./scripts/setup
Hello, I am the infoarena setup script and I will try to guide you through setting up an infoarena developement working copy.
I see you are running as root, this is good.
I'm going to ask you a couple of questions. Just press enter if you like the default value. I'm pretty good at guessing ;).
SVN checkout dir? (default:/srv/www/htdocs/infoarena/trunk/)
Host part of url (with http)? (default:http://localhost)
Prefix part of url? (default:/infoarena2-dev/)
Database host? (default:localhost)
Database connection username? (default:root)
Database password? (default:) parola
Database name? (default:infoarena2)
Should I try to import the sample database? (default:yes)
Running mysql --user=root --password=apache --host=localhost infoarena2 < /srv/www/htdocs/infoarena/trunk/db.sql
Should I try to configure apache for you? (default:yes)
Site name? (default:infoarena2-dev)
PHP Notice: Use of undefined constant IA_ROOT - assumed 'IA_ROOT' in /srv/www/htdocs/infoarena/trunk/scripts/setup on line 207
I can't figure out your system. I'm scared.
Should I try to configure the forum (ugly db stuff)? (default:yes)
Warning: finfo_open missing, falling back to mime_content_type.
Warning: mime_content_type missing, mime-types will default to application/octet-stream.
FIXME: forum is not completely functional
FIXME: eval won't work, but it doesn't matter.
Rulez suse 11.1, cu mysql 5.0.67. De la ce sa fie problema?