Warning: Illegal string offset 'link' in [path]/includes/class_bbcode.php on line 2777

Warning: Illegal string offset 'link' in [path]/includes/class_bbcode.php on line 2791

Warning: Illegal string offset 'link' in [path]/includes/class_bbcode.php on line 2777

Warning: Illegal string offset 'link' in [path]/includes/class_bbcode.php on line 2791

Warning: Illegal string offset 'link' in [path]/includes/class_bbcode.php on line 2777

Warning: Illegal string offset 'link' in [path]/includes/class_bbcode.php on line 2791
Installation Problems - Step 3
Results 1 to 10 of 10

Thread: Installation Problems - Step 3

  1. #1
    Junior Member
    Join Date
    Jun 2010
    Posts
    12
    Thanks
    0
    Thanked 2 Times in 1 Post

    Default Installation Problems - Step 3

    Hi I'm trying to install vs 1.3.0 but am running into problems in step 3. Steps 1 and 2 worked fine, I created the database, modified the appropriate file, but once it goes to step 3 the page is blank. Any ideas what can be wrong?

    Here's my hotaru_settings.php file:

    <?php
    /* Configuration file for Hotaru CMS@*/

    // Paths
    define('BASEURL', "http://enfluxx.com/"); // e.g. http://example.com/ (needs trailing cache)

    // Database details
    define("DB_USER", 'samulia_hotaru'); // Add your own database details
    define("DB_PASSWORD", 'xxxxxxx');
    define("DB_NAME", 'samulia_hotaru');
    define("DB_HOST", 'localhost'); // You probably won't need to change this

    // You probably don't need to change these
    define("DB_PREFIX", 'hotaru_'); // Database prefix, e.g. "hotaru_"
    define("DB_LANG", 'en'); // Database language, e.g. "en"
    define("DB_ENGINE", 'MyISAM'); // Database Engine, e.g. "MyISAM"
    define('DB_CHARSET', 'utf8'); // Database Character Set (UTF8 is Recommended), e.g. "utf8"
    define("DB_COLLATE", 'utf8_unicode_ci'); // Database Collation (UTF8 is Recommended), e.g. "utf8_unicode_ci"

    ?>

    Thanks!
    Last edited by samuliakin; 06-11-2010 at 03:52 AM.

  2. #2
    Admin & Development shibuya246's Avatar
    Join Date
    Jun 2009
    Location
    Tokyo, Japan
    Posts
    562
    Blog Entries
    2
    Thanks
    126
    Thanked 213 Times in 128 Posts

    Default

    Quote Originally Posted by samuliakin View Post
    Hi I'm trying to install vs 1.3.0 but am running into problems in step 3. Steps 1 and 2 worked fine, I created the database, modified the appropriate file, but once it goes to step 3 the page is blank. Any ideas what can be wrong?

    Thanks!
    Page 3 of install is where Hotaru takes your database data and tries to create its first link to all of the Hotaru variables and objects. Since it is failing here, there may be something wrong with the initialization process.

    It looks like the tables were created successfully so the database connection should be ok. This means it could be something in PHP which is not firing right.

    Can you tell me what version of PHP you are running and what hosting service you use?

    thanks
    Alan

  3. #3
    Junior Member
    Join Date
    Jun 2010
    Posts
    12
    Thanks
    0
    Thanked 2 Times in 1 Post

    Default Php version

    Hi thanks for the help,

    The php version is: PHP Version 5.2.10 and the hosting is with fluidhosting (www.fluidhosting.com).

    Thanks Alan!

  4. #4
    Admin & Development shibuya246's Avatar
    Join Date
    Jun 2009
    Location
    Tokyo, Japan
    Posts
    562
    Blog Entries
    2
    Thanks
    126
    Thanked 213 Times in 128 Posts

    Default

    Quote Originally Posted by samuliakin View Post
    Hi thanks for the help,

    The php version is: PHP Version 5.2.10 and the hosting is with fluidhosting (www.fluidhosting.com).

    Thanks Alan!
    This might takes us a bit of back and forward working with files or if you want I can try logging in to your server by ftp and find out the problem. If you want me to try the ftp route then private message me with login details.

    If not, try uploading this file to your install directory. I have put some comments in the top of the page to try and see where the code is having a problem. I don't expect this step to tell us much, but it will probably confirm that the install script is not the problem and instead the initialization script is causing issues. From there we can dig a bit further.
    Attached Files Attached Files

  5. #5
    Junior Member twine's Avatar
    Join Date
    May 2010
    Location
    Toronto, ON, Canada
    Posts
    20
    Thanks
    1
    Thanked 3 Times in 3 Posts

    Default

    Although I'm a total newbie I had several problems installing as well. Most of the issues were little things that were the fault of the hosting not hotaru. If you are installing in a directory that is not the root of enfluxx.com then you may not need the hotaru folder as the parent and just upload the files within. For example I had an issue there where there were multiple sites off of one primary domain (ie. http://www.primarydomain.com/seconda...rectory/hotaru) So even tho my site had a unique URL it was sitting in a folder under the primary domain. To fix the problem I removed the hotaru directory and put the all the files into the secondarydomain folder. So for me it read http://www.primarydomain.com/seconda...ll/install.php

    Very confusing but hope it helps.

    I can say that one you get it installed, it's an amazing CMS. I just upgraded to 1.3 and it gets better everytime. I just wish I had a better knowledge of PHP so I could customize more.

  6. Thanked by:


  7. #6
    Admin & Development shibuya246's Avatar
    Join Date
    Jun 2009
    Location
    Tokyo, Japan
    Posts
    562
    Blog Entries
    2
    Thanks
    126
    Thanked 213 Times in 128 Posts

    Default

    Quote Originally Posted by twine View Post
    I can say that one you get it installed, it's an amazing CMS. I just upgraded to 1.3 and it gets better everytime. I just wish I had a better knowledge of PHP so I could customize more.
    Really nice to hear you say that. Nick and I have put quite a deal of time into Hotaru and are pleased with the progress so far. We hope that people can learn PHP and SQL while using Hotaru and also help to add to the growing number of plugins and themes. It is always good to see people growing with us

  8. #7
    Admin & Development shibuya246's Avatar
    Join Date
    Jun 2009
    Location
    Tokyo, Japan
    Posts
    562
    Blog Entries
    2
    Thanks
    126
    Thanked 213 Times in 128 Posts

    Default

    Quote Originally Posted by samuliakin View Post
    Hi thanks for the help,

    The php version is: PHP Version 5.2.10 and the hosting is with fluidhosting (www.fluidhosting.com).

    Thanks Alan!
    ok, thanks for the PM and the FTP login details. I first checked your CACHE folder and saw the permissions were still on 755. I changed these to 777 and then Hotaru was able to create the necessary cache files.

    This allowed us to advance to the next step of install. The next problem seems to be with the database connection. It looks like the database user has permission to read the database, but not permission to write to it. If you are using CPanel, you need to go to mySQL databases section and make sure the created user that is attached to the database has ALL permissions. If you change this I think everything will work fine.

    Here is the screen on my cpanel

    Click image for larger version. 

Name:	mysql-user.JPG 
Views:	30 
Size:	58.1 KB 
ID:	1153

    I have made a change to the install script to check for problems with CACHE folder permissions. Hopefully this will help others as well.
    I am trying to find a way to also run a test for permission to write to db at install. This should also help others out.

    Let me know if you are able to check those permissions on database. I am sure you will find that will solve everything.

    Thanks
    Alan

  9. #8
    Junior Member
    Join Date
    Jun 2010
    Posts
    12
    Thanks
    0
    Thanked 2 Times in 1 Post

    Default checked the permissions

    I checked the permissions, seems to have full access... any other ideas?
    Click image for larger version. 

Name:	priveleges.jpg 
Views:	54 
Size:	80.1 KB 
ID:	1154

  10. #9
    Admin & Development shibuya246's Avatar
    Join Date
    Jun 2009
    Location
    Tokyo, Japan
    Posts
    562
    Blog Entries
    2
    Thanks
    126
    Thanked 213 Times in 128 Posts

    Default

    Quote Originally Posted by samuliakin View Post
    I checked the permissions, seems to have full access... any other ideas?
    Click image for larger version. 

Name:	priveleges.jpg 
Views:	54 
Size:	80.1 KB 
ID:	1154
    ok, there are some other permissions that get set for mysql as well, such as permissions for user groups and also whether localhost only can write to db.

    I put in some error checking and now get this back
    Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
    This normally means, either SQL is not running, your server is looking for the SQL program in the wrong place, or the database connections may be wrong. You might want to pass this error back to your host. You can also try logging in to SQL with the username/password from the command line if you have SSH access. That would be a good test.

    Alan

  11. #10
    Admin & Development shibuya246's Avatar
    Join Date
    Jun 2009
    Location
    Tokyo, Japan
    Posts
    562
    Blog Entries
    2
    Thanks
    126
    Thanked 213 Times in 128 Posts

    Default

    To finish the thread here, the answer came down to 2 things

    1. the CACHE folder needed to have permissions changed from 755 to 777. (making sure recursive folders got the 777 as well)
    2. for some reason this host did not allow LOCALHOST as the setting for DB_HOST but needed a real url.

    Hope this helps others if they encounter the same problems.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Installation problems in Hostgator
    By flicanada in forum Installation and Upgrading
    Replies: 5
    Last Post: 10-25-2011, 12:23 PM
  2. Installation problems
    By rolfdohrmann in forum Installation and Upgrading
    Replies: 25
    Last Post: 07-02-2010, 02:43 AM
  3. Step effect with sidebar in IE6??
    By baadier in forum How-To and Troubleshooting
    Replies: 7
    Last Post: 06-19-2010, 02:43 PM
  4. CSS Fix Needed for Submit Step 2
    By Nick in forum How-To and Troubleshooting
    Replies: 3
    Last Post: 04-13-2010, 06:18 AM
  5. Installation page - Step 4 is blank
    By phirex in forum Installation and Upgrading
    Replies: 8
    Last Post: 03-02-2010, 07:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •