Re: [SubjectsPlus] SubsPlus 1.1 crashed

15 views
Skip to first unread message
Message has been deleted

Andrew Darby

unread,
Apr 30, 2013, 10:27:28 AM4/30/13
to subjec...@googlegroups.com
Hi Nathan,

I'm not sure what's going on.  I can see a few problems:  pages are throwing 500 errors; sp_DBConnector is not being loaded (which suggests a problem with the __autoload function at the top of control/includes/functions.php); and then the one page I can see

http://library.anderson.edu/subsplus/

is only outputting the vanilla HTML, not anything from the include files.  I'm curious if PHP is working at all--if you add print "Hello from PHP"; at the top of subsplus/index.php, does it output that text?  If so, I'd wonder if it's finding the includes, maybe trying printing "Hello from config" and "Hello from functions" at the top of those files, to see if they are being included. Try that, and let's go from there.  You can write me off-list at agdarby AT gmail DOT com.

Andrew


On Tue, Apr 30, 2013 at 9:47 AM, nathan2103 <natha...@gmail.com> wrote:
Greetings,

I had SubsPlus working fine, then my server ran out of space and PHP crashed. Once I fixed the space problem, all sorts of PHP problems remained so I re-installed PHP. I checked and have all the modules installed. 


MySQL is working. What I notice is that public no login php pages work fine. But something about these pages fail.

mysqld_log
130430 08:50:02  mysqld started
130430  8:50:02  InnoDB: Started; log sequence number 0 27355606
130430  8:50:02 [Warning] Found invalid password for user: 'mysql@localhost'; Ignoring user
130430  8:50:02 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.0.95'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution
130430  9:14:54 [Warning] Found invalid password for user: 'mysql@localhost'; Ignoring user

I can login to mysql and connect, show databases and use a database
the /subsplus/crontol/includes/config.php has the correct mysql login/password and database. I can login and check and everything looks fine. I even tried restoring my subsplus mysql data with a backup a few days old. Again, everything worked before the crash.

httpd_error_log
[Tue Apr 30 09:15:13 2013] [error] [client 10.69.57.23] PHP Fatal error:  Class
'sp_DBConnector' not found in /w/docs/subsplus/subjects/index.php on line 21, re
ferer: http://library.anderson.edu/index.html
[Tue Apr 30 09:15:14 2013] [error] [client 10.69.57.23] PHP Notice:  Undefined v
ariable: resource_name in /w/docs/subsplus/subjects/index.php on line 16, refere
r: http://library.anderson.edu/index.html

--
You received this message because you are subscribed to the Google Groups "SubjectsPlus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subjectsplus...@googlegroups.com.
To post to this group, send email to subjec...@googlegroups.com.
Visit this group at http://groups.google.com/group/subjectsplus?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

nathan2103

unread,
Apr 30, 2013, 12:06:30 PM4/30/13
to subjec...@googlegroups.com
It turned out to be corrupt php files, and I just tried refreshing the sp1.1 set and that fixed it.
Reply all
Reply to author
Forward
0 new messages