Hello all.
Using the following configuration:
- MySource 3.18
- PHP 5.2.6
- Oracle 10g
- Solaris 10
I performed the following steps:
- Created a site and added a standard page with one line of text.
- Set URL and appropriate permissions.
- Set Index page.
- Set status of site to Live.
When I then try to preview the page, I get the following fatal error:
[font=“Courier New”]Fatal error: Uncaught exception ‘Exception’ with message ‘Unable to get default design for asset: 111 due to database error: Unable to execute query: ORA-00933: SQL command not properly ended’ in /var/www/mysource_matrix/core/assets/site/site.inc:772 Stack trace: #0 /var/www/mysource_matrix/core/assets/site/site.inc(690): Site->paintAsset(Object(Page_Standard)) #1 /var/www/mysource_matrix/core/include/mysource.inc(504): Site->printFrontend() #2 /var/www/mysource_matrix/core/web/index.php(30): MySource->start() #3 {main} thrown in /var/www/mysource_matrix/core/assets/site/site.inc on line 772[/font]
After seeing this I applied the Falling Leaves design to the site and tried to preview again, this time I saw the site title and the page name (with the pretty leaves) but under that I get:
[font=“Courier New”]Fatal error: Uncaught exception ‘Exception’ with message ‘Unable to get valid menu entries due to database error: Unable to bind variable “p_permission” to query: 1036 ORA-01036: illegal variable name/number’ in /var/www/mysource_matrix/core/assets/designs/design_areas/menu/design_area_menu_type/menu_get_assets.inc:126 Stack trace: #0 /var/www/mysource_matrix/data/private/assets/design/0014/95/design_file.php(183): menu_get_assets(‘site_nav’, Array) #1 /var/www/mysource_matrix/core/assets/designs/design/design.inc(883): require_once(’/var/www/mysour…’) #2 /var/www/mysource_matrix/core/include/asset.inc(4075): Design->paint(Object(Page_Standard)) #3 /var/www/mysource_matrix/core/assets/site/site.inc(793): Asset->printFrontendAsset(Object(Page_Standard), Object(Design)) #4 /var/www/mysource_matrix/core/assets/site/site.inc(690): Site->paintAsset(Object(Page_Standard)) #5 /var/www/mysource_matrix/core/include/mysource.inc(504): Site->printFrontend() #6 /var/www/mysource_matrix/core/web/index.php(30): MySource->start() #7 { in /var/www/mysource_matrix/core/assets/designs/design_areas/menu/design_area_menu_type/menu_get_assets.inc on line 126[/font]
I can go through the code to work out what is happening but I was hoping that someone has seen something like this before. If anyone knows what’s going on here then I would appreciate a heads up.