Menu

Installation help please

Help
Patricia
2009-03-06
2013-04-17
  • Patricia

    Patricia - 2009-03-06

    I’ve been trying to follow the installation instructions but am completely lost.  Nobody else seems to have had any problems installing Props so I’m thinking that I’m just missing something really obvious.  Can someone please tell me what I’ve done wrong and point me in the right direction? 

    I created a database and populated it with the props tables.  I also uploaded the public_html file to the public html directory and the rest of the Props files to a props folder in the non-public area. 

    Per the installation instructions I saved the config.default.php file as config.php and left it where it was in a props folder in the public html area.  I tried to set the Publication Name, Default Copyright, DB Name, DB Host, DB User, and DB Password, but because I’ve never done PHP I have no idea if I did it right.  Item 6 of the installation instructions says “You should now be able to pull up the administration screens in your web browser,” but isn’t specific about how to do this.  I tried using www.myurl.com/props without a file extension but that just gave me a bunch of error messages.

    =============================================================================================
    Warning:  require_once(../lib/common.php) [function.require-once]: failed to open stream: No such file or directory in …

    Fatal error: require_once() [function.require]: Failed opening required '../lib/common.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in …

    I’m not sure if errors were because I shouldn’t have split up the Props components between the public and non-public areas, if I didn’t edit the config.php file correctly, if I used the wrong file name in the browser to bring up Props, or all of the above. 

    I thought that I followed the instructions correctly but after two days of trying to install this I am still staring at the screen wondering what I am doing wrong.  Any ideas?  I really think that I am missing something obvious.  Please help me.

     
    • Patricia

      Patricia - 2009-03-11

      Update:

      I’m still trying to get Props loaded and functional.  When I originally got the error message trying to access the admin screen I thought that giving the entire path might fix the problem so I changed require_once(‘../lib/common.php’)  to require_once(‘http://www.nhstyle.com/home/nhstylec/props/lib/common.php’) I know absolutely nothing about php so that was pretty much all I had for what I considered to be reasonably useful ideas.  Unfortunately it didn’t work. (see error messages in previous post) I kept looking for an answer and found a reference to a similar installation problem,
      http://sourceforge.net/mailarchive/forum.php?thread_name=BLU107-W15CA57E1AFD7D8CE5B162983260%40phx.gbl&forum_name=props-general ,but the fixes didn’t help.

      Per the suggestions I tried changing  require_once('../lib/common.php'); to require_once('../../lib/common.php'); but still got the same error message.  I then tried the other suggestion, require_once('/home/nhstylec/props/lib/common.php'); which gave me new error messages.  Part of my problem is that I don’t know how I am supposed to be accessing the admin screen.  When I typed www.nhstyle.com/admin.php in the browser I got a standard 404 error.  When I tried  www.nhstyle.com/props I got Internal Server Error There are no published editions.  Out of desperation I also tried www.nhstyle.com/home/nhstylec/props/admin.php and www.nhstyle.com/home/nhstylec/public_html/props/admin.php, but received 404 file not found errors.  

      I’m using the latest version of Props, 0.8 final, and my web host says that they use Apache 2.x, MySQL 5.x, and PHP 5.2.6. I’ve tried accessing the admin screen using IE7, firefox 3.0, and Opera 9.64.  I’m certain it’s not a browser problem so I didn’t bother trying any other browsers.  I think that the problem is in my installation.  I’ve deleted and reinstalled Props a few times and continue to get the same error messages.  I tried installing the config.php file in the props folder with the read me file as it suggested in the installation instructions and I’ve tried moving it to the public_html folder per the notes in the config.php file, but it didn’t seem to make a difference.  I’m pretty sure that I followed the instructions correctly, and I think that I made the correct changes in config.php.  The only change I made in index.php was to the require_once(‘../lib/common.php’); line in an attempt to correct the error messages I was getting. Everything else is exactly as it came out of the box.  What am I doing wrong?

       
    • Patricia

      Patricia - 2009-03-17

      Yippee! It took way too many days, but I finally found a solution.  I put all of the non-public_html files loose in the non-public directory, then I changed the require_once(‘../lib/common.php’)to require_once(‘/home/nhstylec/lib/common.php’)

      The next challenge is to get past the login screen...

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.