Osclass forums
Support forums => General help => 3.6.x => Topic started by: xhorntail on January 31, 2016, 10:51:57 pm
-
I just did my first install, and upon completion I went to login to the admin panel, which redirected to
http://osclass.website.net/oc-admin/index.php?page=upgrade
and threw a 500.
My Apache logs show this:
PHP Fatal error: require(): Failed opening required '/home/site/domains/osclass.website.net/public_html/oc-admin/themes//upgrade/index.php' (include_path='/home/website/domains/osclass.website.net/public_html/oc-includes/htmlpurifier:.:/usr/share/php:/usr/share/pear') in /home/website/domains/osclass.website.net/public_html/oc-includes/osclass/helpers/hDefines.php on line 182, referer: http://osclass.website.net/oc-admin/?page=login&action=recover
PHP Warning: require(/home/website/domains/osclass.website.net/public_html/oc-admin/themes//upgrade/index.php): failed to open stream: No such file or directory in /home/website/domains/osclass.website.net/public_html/oc-includes/osclass/helpers/hDefines.php on line 182
mod_fcgid: stderr: PHP Fatal error: require(): Failed opening required '/home/website/domains/osclass.website.net/public_html/oc-admin/themes//upgrade/index.php' (include_path='/home/website/domains/osclass.website.net/public_html/oc-includes/htmlpurifier:.:/usr/share/php:/usr/share/pear') in /home/website/domains/osclass.website.net/public_html/oc-includes/osclass/helpers/hDefines.php on line 182
As a side note, the captchas on this forum are not colorblind friendly. haha. A refresh button would be great.
-
I reinstalled the script with its own domain, and verified permissions belonged to the proper apache user. Still having this issue though.
-
I don't know why all new people here post several times the very same question, poluting the forums like that.
http://forums.osclass.org/3-6-x/500-error-upon-visiting-admin-panel-after-fresh-install/
-
It was a double click, the post hung on submission so i recreated it. I already reported that one asking a mod to remove it.
-
So, I've tracked this down to the initial database setup at install. Clearly the library wasn't inserting the default theme name in the require statements above.
The tables mostly looked fine, but being a new person to Osclass, I can't know what I don't know. Anyhow, there was a post mentioning a setting in the preferences table to specify the theme. That setting wasn't there, so I figured table population failed at install.
Checking syslog for MySQL logs gave the following:
Jan 31 17:26:36 base mysqld: InnoDB: Unable to lock ./site/oc_t_plugin_category.ibd, error: 37
Jan 31 17:26:36 base mysqld: 160131 17:26:36 InnoDB: Error creating file './sellmyboomstick/oc_t_plugin_category.ibd'.
Jan 31 17:26:36 base mysqld: 160131 17:26:36 InnoDB: Operating system error number 37 in a file operation.
Jan 31 17:26:36 base mysqld: InnoDB: Error number 37 means 'No locks available'.
Jan 31 17:26:36 base mysqld: InnoDB: Some operating system error numbers are described at
Jan 31 17:26:36 base mysqld: InnoDB: http://dev.mysql.com/doc/refman/5.5/en/operating-system-error-codes.html
I tried increasing my ulimit, which didn't help either. So I'm not sure why InnoDB can't lock the files but that seems to be the root of the issues right now.
Also of note is that for some reason the "oc_t_item_description" table is being created as MyISAM.
-
All this seems like a hosting / server setup problem.
-
Indeed it was, however I couldn't tell that from the preliminary errors.
That's why I updated the post with my findings and left it at that.
This way the post remains here for anyone experiencing the same issue, so that they know where to start looking.