Author Topic: localhost test: an error occurred  (Read 4069 times)

danem

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • Email
localhost test: an error occurred
« on: December 10, 2008, 02:18:38 pm »
Beta 1.1 (couldn't find a 1.0 download)

 I tried to create and save a document on my localhost (using apache2triad) test, and I get "an error occurred while saving the document". I get a similiar error when trying to upload a document as well.

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: localhost test: an error occurred
« Reply #1 on: December 11, 2008, 10:37:15 am »
Try searching the forum for 'error saving' to see if you find a similar error that can help you.

Also, edit config/config.php and set DEBUG to true, and tell me if any error messages show up on OpenGoo or on cache/log.php.

The link for version 1.0 is this (but this error in particular shouldn't be due to the beta version):

http://downloads.sourceforge.net/opengoo/opengoo_1.0.zip

danem

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • Email
Re: localhost test: an error occurred
« Reply #2 on: December 11, 2008, 02:48:06 pm »
Thanks! I have a feeling when I can get this on a non-local webserver it will work better, but this should be most helpful.

danem

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • Email
Re: localhost test: an error occurred
« Reply #3 on: December 11, 2008, 02:58:08 pm »
what I got

Session "default" started at 2008-12-11T17:55:18+0000
#1 ERROR: Error: mkdir(): No such file or directory in 'C:\apache2triad\htdocs\opengoo\environment\functions\files.php' on line 226 (error code: 2)
Time since start: 0.579272031784 seconds
-------------------------------------------------------------------------------

Session "default" started at 2008-12-11T17:55:38+0000
#1 ERROR: Error: mkdir(): No such file or directory in 'C:\apache2triad\htdocs\opengoo\environment\functions\files.php' on line 226 (error code: 2)
Time since start: 0.155970096588 seconds

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: localhost test: an error occurred
« Reply #4 on: December 12, 2008, 09:48:44 am »
Try changing line 226 of 'environment/functions/files.php' to this, so that we can trace the cause of the error:

Code: [Select]
$ret = @mkdir($path, $chmod, true);
if (!$ret) throw new Exception("Error mkdir($path, $chmod, true)");
return $ret;

Thanks.

danem

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • Email
Re: localhost test: an error occurred
« Reply #5 on: December 17, 2008, 01:13:32 pm »
Is there a place I should be looking for this output? I still get nothing more than "an error occurred"