...
- Submitting data reloads the current page
There is an issue with your web.config file. Try the following web.config file:
Code Block <?xml version="1.0"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Main Rule" stopProcessing="true"> <match url=".*" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
Next, update /libcore/ServiceProviders/initMinphpBridge.php and and make the following change:
Code Block // define("HTACCESS", $htaccess = file_exists($rootWebDir . '.htaccess');$htaccess = true;
Nginx
- For pretty URL's (without /index.php/ in every URI) you will need to add a custom Nginx configuration. For a community provided example configuration, please see https://www.blesta.com/forums/index.php?/topic/9320-nginx-config/
Next, update /core/ServiceProviders/MinphpBridge.php and make the following change:
ROOTWEBDIRCode Block // $htaccess = file_exists(
"$rootWebDir .
")'.htaccess
define("HTACCESS",');
)$htaccess = true
;
Cron Issues
- Cron does not seem to complete normally and Settings > Company > Automation shows some hung tasks.
- Try disabling your cron job, and running the cron manually under Settings > System > Automation. If it runs correctly, you may have a memory issue in your CLI environment with Zend Memory Manager. Some users have reported that appending export USE_ZEND_ALLOC=0; to the beginning of their cron job resolved the issue. When using this method, your cron may look something like this: export USE_ZEND_ALLOC=0; /usr/bin/php /home/user/public_html/blesta/index.php cron
...