Hi Siavash,
I started completely afresh. I downloaded v. 2.2, and unzipped it into my folder path/to/public_html/ojai (I can't access the folder below my public html on a GoDaddy hosting plan). I then set the permissions as it says in the instructions. That gets me to the end of step 8. I skipped step 9 for now, because if I understand your replies here and in other threads, it should not be looking for my DB before the first install page.
Then step 10, I navigate to
http://www.ai-tools.org/ojai/, and receive the warning
DB Error: Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2)I set debug=true in the config file (my first edit of that file), and I get
- Code: Select all
(mysql): SELECT * FROM journals WHERE path = 'ojai'
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/content/a/i/t/aitools/html/OJAI/lib/adodb/drivers/adodb-mysql.inc.php on line 496
2002: Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2)
DB Error: Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2)
So it certainly looks to me like the install script is trying to access the DB before the first page of the install procedure.
So then I made a brand-new DB (not sharing one, which is what I would really want to do eventually, but no matter), completing Step 9 in the instructions. I go to my start page (step 10). Same error.
I then put in all the info about my new DB into my config file, and then I got the other error that I got in my first post, although now with debug turned on there is a little more info:
- Code: Select all
(mysql): SELECT * FROM journals WHERE path = 'ojai' 1146: Table 'aitoolsojai.journals' doesn't exist
adodb_mysql._execute(SELECT * FROM journals WHERE path = 'ojai') % line 845, file: adodb.inc.php
adodb_mysql.execute(SELECT * FROM journals WHERE path = ?, Array[1]) % line 62, file: DAO.inc.php
journaldao.retrieve(SELECT * FROM journals WHERE path = ?, ojai) % line 49, file: JournalDAO.inc.php
journaldao.getjournalbypath(ojai) % line 421, file: Request.inc.php
request.getjournal() % line 103, file: CmsPlugin.inc.php
DB Error: Table 'aitoolsojai.journals' doesn't exist
So I'm not trying to do anything custom, I'm not a special case as far as I know. I'm perfectly happy (for now) using a brand-new database. I've followed the instructions to a tee, as far as I can tell. I still get the same errors. I still never get to the first page of the install.
Also, the links you found in the forums are from almost 1.5 years ago and a pretty old version of OJS.
Sorry, I guess those two links went to the same place. I meant to link the second one to
here from a couple weeks ago, where it seemed two users had similar problems.