saving admin changes forwards me to site homepage and changes are not saved

hi all,

i've been editing my site all day... mainly CSS changes and some minor widget code changes.

all of a sudden, with no deliberate changes being made anywhere that would be likely to cause the behaviour.. i am seeing that any changes to pages in the admin section are not saved and/or are just 'ignored' by the system.. when i hit save i am forwarded to the main homepage.

(also... possibly a side issue, i am unable to login unless 'remember' is ticked in the login bar).

 

i looked in the apache2 error log and saw the following sequence of errors repeated over and over:

 

 

[Fri Nov 12 20:29:55 2010] [error] [client 127.0.0.1] PHP Fatal error:  Class 'DatabaseException' not found in /var/www/elggnew/elgg174/engine/lib/database.php on line 188, referer: http://elgg174.localhost/

[Fri Nov 12 20:29:55 2010] [error] [client 127.0.0.1] PHP Fatal error:  Class 'DatabaseException' not found in /var/www/elggnew/elgg174/engine/lib/database.php on line 188, referer: http://elgg174.localhost/

[Fri Nov 12 20:29:55 2010] [error] [client 127.0.0.1] PHP WARNING: 2010-11-12 20:29:55 (UTC): "Invalid argument supplied for foreach()" in file /var/www/elggnew/elgg174/mod/vazco_mainpage/views/default/canvas/layouts/vazco_index.php (line 72), referer: http://elgg174.localhost/

[Fri Nov 12 20:29:55 2010] [error] [client 127.0.0.1] PHP WARNING: 2010-11-12 20:29:55 (UTC): "Invalid argument supplied for foreach()" in file /var/www/elggnew/elgg174/mod/vazco_mainpage/views/default/canvas/layouts/vazco_index.php (line 72), referer: http://elgg174.localhost/

[Fri Nov 12 20:29:55 2010] [error] [client 127.0.0.1] PHP Fatal error:  Class 'DatabaseException' not found in /var/www/elggnew/elgg174/engine/lib/database.php on line 188, referer: http://elgg174.localhost/

[Fri Nov 12 20:29:55 2010] [error] [client 127.0.0.1] PHP Fatal error:  Class 'DatabaseException' not found in /var/www/elggnew/elgg174/engine/lib/database.php on line 188, referer: http://elgg174.localhost/

[Fri Nov 12 20:29:55 2010] [error] [client 127.0.0.1] PHP WARNING: 2010-11-12 20:29:55 (UTC): "file_get_contents(/var/lib/php5/sess_vmbn5nm1fdm8sl0kbesctacs91): failed to open stream: No such file or directory" in file /var/www/elggnew/elgg174/engine/lib/sessions.php (line 639)

[Fri Nov 12 20:29:57 2010] [error] [client 127.0.0.1] PHP WARNING: 2010-11-12 20:29:57 (UTC): "Invalid argument supplied for foreach()" in file /var/www/elggnew/elgg174/mod/vazco_mainpage/views/default/canvas/layouts/vazco_index.php (line 72)

 

 

I attempted to disable vazco_mainpage but i can't because the elgg system isn't saving the changes.. 

 

does anyone have any idea of what to prod or poke to resolve this? 

 

thanks

  • "file_get_contents(/var/lib/php5/sess_vmbn5nm1fdm8sl0kbesctacs91): failed to open stream: No such file or directory" in file /var/www/elggnew/elgg174/engine/lib/sessions.php (line 639)

    This may be a sign of the site breaking ;(

    the sessions file / folder cannot just "disappear".

    " Fatal error:  Class 'DatabaseException' not found..." some Elgg code might have gone missing.

    Try check with your TechSupp - see what they can say.

  • hmm.. that's what i figured.. it maybe file system corruption. since the site is running on my laptop, tech support is me! ;)

    i'll backup, scan the HD and possibly see if i can do a fresh install.

  • all working again now.. (so far anyhow).. 

    i needed to totally rebuild the server/laptop.. time to take a backup image! 

    thanks for the assistance.