MenuCoranto Docs
Coranto LinksPmWiki Home |
Blank Screen and/or Fatal Error After InstallOn this page... (hide) The ProblemAfter following the Coranto install instructions and then accessing coranto.cgi for the first time using h**p://www.yoursite.net/pathto/coranto.cgi you are greeted with a blank screen. Upon viewing the source code for the blank page you see: <html><head><title>Coranto: Fatal Error</title> There are two common causes for this problem. Path SettingsOne possible culprit in this case is improper path information. Coranto usually does a good job of detecting the proper path information. If it doesn't you may have to specify the path in the coranto.cgi file. Open the file in a text editor and find this section: # EXTRA SERVER INFORMATION # Coranto tries to determine its path and URL automatically. This works in 90% # of cases, but some servers aren't cooperative and don't allow this information # to be found automatically. Though it won't hurt, there's no need to fill this out # unless you encounter problems. # # If you encounter problems (particularly with incorrect URLs, or fatal error messages # about files not being found), fill in the two variables below. $abspath = ''; # Set the above to the absolute path to Coranto's directory, without # a trailing slash. Example: # $abspath = '/absolute/path/to/coranto'; $scripturl = ''; # Set the above to the URL to coranto.cgi. Example: # $scripturl = 'http://www.myserver.com/coranto/coranto.cgi'; # END EXTRA SERVER INFORMATION Remove the # at the start of the $abspath line and the $scripturl line and enter the correct information for your server. $abspath is the path from the root of your webserver and the $scripturl is the URL you would enter in your browser to access the script. Save the file and upload to your server. FLOCKIf your server does not support FLOCK you will need to turn it off. This happens more frequently on a Windows server. To disable FLOCK you must open the file cruser.pl and edit one of the settings available there. Here is the section you are looking for: # ** FILE LOCKING ** # File locking is a feature, provided by the operating system, which # prevents possible serious problems when Coranto is being used by # multiple users. Almost every operating system supports this, except # for Windows 9x/ME. Possible settings: # 2 Enable file locking. If you know your server supports it, set # UseFlock to this. # 0 Disable file locking. This may result in file corruption. $UseFlock = 2; Change the 2 to a 0 (zero). If you have previously used Coranto on the same server and did not have to change the setting for FLOCK then you probably need to set the path information. You can leave comments using this form. |