This topic is locked
[SOLVED]

 Smarty error: unable to read resource:

2/10/2008 11:10:22 AM
PHPRunner General questions
jpedwardspost author

Hi,
I have generated an application with various tables and I am getting the following error when I select one of the tabs:
Technical information

Error type 512

Error description Smarty error: unable to read resource: ""

URL www.mywebsite.co.uk/test9/output/un_approvedcontract_list.php?

Error file /var/www/vhosts/mywebsite.co.uk/httpdocs/test9/output/libs/Smarty.class4.php

Error line 1095

SQL query select `ac_id`, `ac_name`, `ac_desc`, `ac_file_url_path`, `ac_file_blob`, `rs_file_blob`, `gl_file_blob` From `un_approvedcontract`
I have set all permissions correctly and the php files un_approvedcontract_list.php and Smarty.class4.php do exist.
Any suggestions gratefully received.
Regards,

JP.

J
Jane 2/11/2008

Hi,
it's difficult to tell you what's happening without seeing actual files.
Please publish your project on Demo Account and post a URL to your pages here or send it to [email=support@xlinesoft.com]support@xlinesoft.com[/email] along with instructions on reproducing this error.

I'll find what's wrong with your project inspecting it at Demo account site.

jpedwardspost author 2/12/2008

Hi,
Just in case anyone else comes across this the problem was resolved by pressing the reset button in the visual editor tab on the list screen. The problem was caused by my setting the table as a master-detail and then later removing it. There were some master-detail 'remnants' left which needed clearing up. By the way - the reset button was something I hadn't come across before, it is in the top left corner of the visual editor.
Thanks to Jane for finding the solution to this problem.
JP.