Ticket #232 (closed defect: fixed)
Problems with Plogger's upgrade script and PHP 5.3
| Reported by: | nathanrdotca | Owned by: | sidtheduck |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
(here's a screen paste from the output of _upgrade.php)
Performing Upgrade...
Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 111
Upgrading database structure (TABLE_PREFIXconfig)...
Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 116
- Table TABLE_PREFIXthumbnail_config already exists, ignoring. Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 124
Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 132
Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 142
Notice: Undefined variable: tambov_constant in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 143
Notice: Undefined variable: config in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 143
Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 153
Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 160
Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 168
Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 176
Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 180
- disabled already present in database. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 84
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 84
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 84
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field gallery_url to database. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field feed_num_entries to database. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field feed_title to database. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field feed_language to database. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field use_mod_rewrite to database. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field default_sortdir to database. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field default_sortby to database. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field admin_email to database. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field allow_fullpic to database. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field comments_notify to database. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field comments_moderate to database. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field square_thumbs to database. Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 225
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field thumbnail_id to database. Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 226
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field thumbnail_id to database. Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 229
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field path to database. Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 230
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field path to database. Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 234
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field ip to database. Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 235
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field approved to database. Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 237
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field description to database. Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 240
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field theme_dir to database. Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 243
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field album_sortby to database. Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 244
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field album_sortdir to database. Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 245
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field collection_sortby to database. Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 246
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field collection_sortdir to database. Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 250
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field enable_thumb_nav to database. Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 251
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 69
- Adding new field thumb_nav_range to database.
- Setting default theme directory to /var/www/gallery-nathanr-ca/htdocs/themes/default/
Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 256
Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 259
Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 263
Reorganizing your images folder... Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 282
Notice: Use of undefined constant TABLE_PREFIX - assumed 'TABLE_PREFIX' in /var/www/gallery-nathanr-ca/htdocs/_upgrade.php on line 285 Table 'nathan.TABLE_PREFIXcollections' doesn't exist
SELECT id,name FROM TABLE_PREFIXcollections
Change History
comment:2 Changed 13 months ago by nathanrdotca
Ah. I executed that script from the wrong folder. Errors are gone. Easy mistake to make.
The only remaining errors (on the plogger-admin interface) are: Deprecated: Function eregi() is deprecated in /var/www/gallery-nathanr-ca/htdocs/plog-includes/lib/phpthumb/phpthumb.functions.php on line 362
Warning: mysql_result() expects parameter 2 to be long, string given in /var/www/gallery-nathanr-ca/htdocs/plog-admin/plog-admin-functions.php on line 1133
Deprecated: Function split() is deprecated in /var/www/gallery-nathanr-ca/htdocs/plog-admin/plog-admin-functions.php on line 1961
Notice: Undefined index: JPG Support in /var/www/gallery-nathanr-ca/htdocs/plog-admin/plog-admin-functions.php on line 1977

Added: define("TABLE_PREFIX","plogger");
to plogger-config.php, that didn't help.