View Full Version : 0.6 Branch test install report
Per your request Nick I'm testing out the 0.6 branch via install.
I'm installing on a...
- shared linux server
- MySQL version: 5.0.67-"community"
- Apache version: 1.3.41 (Unix)
I'll post my findings on this thread.
(Filezilla asked me if I wanted to rewrite some files but my root dir was empty :confused: so I hope my first few findings wasn't from that, I'll re-upload the files again on my next sitting.)
Step 1-3 gives me a warning but I can continue:
Warning: Unknown column 'hotaru_plugins.plugin_class' in 'field list' in /home/xxxxx/public_html/xxxxxx/libs/extensions/ezSQL/mysql/ez_sql_mysql.php on line 219
It might be left over browser or temp file or cookie problem from previous install because I restarted the install after switching browser to private mode (no temp files are stored) and no warning this time.
Edit: Oops didn't see the next set of instructions in the read me for re installing. My bad!
After install I went to login and got a warning and fatal error when trying to log in. It looks like login.php was renamed to admin_login.php?
Warning: require_once(/home/xxxx/public_html/xxxxxx/content/admin_themes/admin_default/login.php) [function.require-once]: failed to open stream: No such file or directory in /home/xxxxxx/public_html/xxxxx/libs/Admin.php on line 664
Fatal error: require_once() [function.require]: Failed opening required '/home/xxxxx/public_html/xxxxxx/content/admin_themes/admin_default/login.php' (include_path='.:/usr/local/php5/lib/php') in /home/xxxx/public_html/xxxxxx/libs/Admin.php on line 664
corrected libs/Admin.php line 664 in 0.6 branch
PS the forum code tags acted weird on my 2nd post. First it was too short then when I edited the post the code disappeared!
Thanks Jon.
1. Filezilla - No idea!
2. That "unknown column" is a new addition to the plugins table, but Hotaru doesn't know about it. I won't bother with this version, but later versions will need an upgrade script so Hotaru doesn't choke like this on database changes.
3. Thanks for committing a fix for that renamed login file.
4. I'll be updating the documentation section soon, so will look out for any strange behavior posting code tags.
Pligg importer Plugin:
I installed the Pligg Importer after installing the necessary plugins. I get this warning on the Pligg importer page:
Fatal error: Call to undefined method PluginFunctions::plugin_active() in /home/xxxxx/public_html/xxxxxx/content/plugins/pligg_importer/pligg_importer.php on line 162
cool nice code smiley huh
Ahh... that doesn't surprise me. I haven't been through the Pligg Importer yet. I think I've updated all the other plugins for 0.6, though. I'll get on to that tonight.
Edit: Done!
Hmm I was using IE to view the forum and FF to install Hotaru. For some reason the code tag here isn't visible in IE but the ones in your documentation are. Another reason not to use IE! Oh well getting sidtracked.
I don't think it's a big deal but...
Note: All main db tables are automatically deleted and rebuilt, so there shouldn’t be any clash with previous installations.
But a test submit story from a previous 0.5.2 install was still there. The old categories are in the database also.
Scratch that. It is a big deal lol. I couldn't submit a story.
Notice: Trying to get property of non-object in /home/xxxxx/public_html/xxxxxx/content/plugins/categories/categories.php on line 324,308,323,188,189
I have 1 old category left from previous install + 1 new category I just created
There's not a category chooser on the submit step 2 page. Not sure if this is because of 0.6 or the category issue in the db.
a test submit story from a previous 0.5.2 install was still there. The old categories are in the database also.
That's because tables created by plugins aren't technically part of Hotaru. I suppose we could force Hotaru to search and destroy *all* tables in the database when running the install script (need to think about that), but in the meantime, you can delete any leftover tables from Admin->Maintenance (step 7):
Re-installing Hotaru
If you are trying to re-install Hotaru and start fresh, here are some extra tips to follow:
1. After installing, go to Admin -> Plugin Management
2. Make sure all plugins are uninstalled
3. Go to Admin -> Settings
4. Disable the three caches
5. Go to Admin -> Maintenance
6. Clear the three caches
7. Delete any plugin tables
There's not a category chooser on the submit step 2 page. Not sure if this is because of 0.6 or the category issue in the db.
It's a bug. Go to Admin->Plugin Settings->Submit and you'll see the Categories option isn't checked and it won't save it when you check it. l'll try to fix that...
Edit: Fixed!
Okay, I've changed it so Hotaru deletes ALL tables in the database during installation. That should instantly solve a few problems. :)
EDIT: It also empties the cache folder, too. :)
EDIT 2: The previously quoted instructions for re-installing Hotaru are no longer necessary because all the table deleting and cache clearing is now automatic!
Cool! soon, hopefully tomorrow, I'll reinstall and retest again.
2nd run
I tried to reinstall today with the latest built of 0.6 (date of this post) I did
a clean file upload to the server with the latest build.
Step 3 went OK the database was created over the old one.
On step 4 I got a few warnings when trying to rename admin and password. I didn't get a chance to copy it because I decided to drop the tables in the database and reinstall from scratch (step 1). This time I received several notices and a few warnings on step 1:
Warning: Table 'xxxxx_hotaru.hotaru_settings' doesn't exist in /home/xxxxx/public_html/xxxxxx/libs/extensions/ezSQL/mysql/ez_sql_mysql.php on line 219
Warning: Invalid argument supplied for foreach() in /home/xxxxx/public_html/xxxxx/libs/Hotaru.php on line 196
Notice: Use of undefined constant DB_CACHE_DURATION - assumed 'DB_CACHE_DURATION' in /home/xxxxx/public_html/xxxxx/libs/Hotaru.php on line 204
Notice: Use of undefined constant DB_CACHE_ON - assumed 'DB_CACHE_ON' in /home/xxxxx/public_html/xxxxx/libs/Hotaru.php on line 206
Notice: Use of undefined constant DEBUG - assumed 'DEBUG' in /home/xxxxx/public_html/xxxxx/libs/Hotaru.php on line 214
Warning: Table 'xxxxx_hotaru.hotaru_pluginhooks' doesn't exist in /home/xxxxx/public_html/xxxxx/libs/extensions/ezSQL/mysql/ez_sql_mysql.php on line 219
:eek:
I didn't get these the first time when the old database was there from the previous install. I also checked the cache folder and nothing was in there except the placeholder.
...I went ahead and continued to step 3:
Notice: Undefined variable: new_array in /home/xxxxx/public_html/xxxxx/libs/extensions/ezSQL/ez_sql_core.php on line 234
Warning: Invalid argument supplied for foreach() in /home/xxxxx/public_html/xxxxx/libs/Admin.php on line 474
I'll go ahead and pause here for now :o
I tried to install again with previously created tables intact and I didn't get any of the warnings I listed above.
I did get the notice again on the create password (step 4) page:
Notice: Array to string conversion in /home/xxxxx/public_html/xxxxx/libs/extensions/ezSQL/mysql/ez_sql_mysql.php on line 145
and this after changing the password:
Notice: unserialize() [function.unserialize]: Error at offset 0 of 5 bytes in /home/xxxxx/public_html/xxxxx/libs/UserBase.php on line 357
Whoops! Sorry about that. It's fixed in Revision 390 (http://my-trac.assembla.com/HotaruCMS/changeset/390). :o
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.