Page 1 of 2

Upgrade from 0.7.3 to 0.8 problems

Posted: Sun Jan 02, 2005 12:27 am
by Greg

Code: Select all

Fatal error: Smarty error: [in db:1 line 38]: syntax error: unrecognized tag 'html_blob' (Smarty_Compiler.class.php, line 565) in /hsphere/local/home/gregbloo/gregbloor.com/lib/smarty/Smarty.class.php on line 1088

Upgrade from 0.7.3 to 0.8 problems

Posted: Sun Jan 02, 2005 12:30 am
by Ted
In index.php?

Upgrade from 0.7.3 to 0.8 problems

Posted: Sun Jan 02, 2005 12:34 am
by Greg
Yes. Ran upgrade.php with no problems. deleted all old directories on my web server and uploaded all new files. Also did changeset to 1133 when I first got this error. Used phpmy admin and removed all htmlblobs from my templates but I still get the error. ??

Upgrade from 0.7.3 to 0.8 problems

Posted: Sun Jan 02, 2005 12:38 am
by Ted
Ok, I'll look into it. Thanks.

Upgrade from 0.7.3 to 0.8 problems

Posted: Sun Jan 02, 2005 12:46 am
by Greg
When I try to preview the template from template management I get these errors

Code: Select all

Warning: fopen(/hsphere/local/home/gregbloo/gregbloor.com/smarty/cms/cache/cmspreviewPli8HP): failed to open stream: No such file or directory in /hsphere/local/home/gregbloo/gregbloor.com/lib/preview.functions.php on line 59

Warning: filesize(): Stat failed for /hsphere/local/home/gregbloo/gregbloor.com/smarty/cms/cache/cmspreviewPli8HP (errno=2 - No such file or directory) in /hsphere/local/home/gregbloo/gregbloor.com/lib/preview.functions.php on line 60

Warning: fread(): supplied argument is not a valid stream resource in /hsphere/local/home/gregbloo/gregbloor.com/lib/preview.functions.php on line 60

Warning: fclose(): supplied argument is not a valid stream resource in /hsphere/local/home/gregbloo/gregbloor.com/lib/preview.functions.php on line 61

Warning: unlink(/hsphere/local/home/gregbloo/gregbloor.com/smarty/cms/cache/cmspreviewPli8HP): No such file or directory in /hsphere/local/home/gregbloo/gregbloor.com/lib/preview.functions.php on line 62
looks like it is looking for the old cache directory and not the tmp/cache directory.

Upgrade from 0.7.3 to 0.8 problems

Posted: Sun Jan 02, 2005 1:00 am
by Ted
config.php has a previews_path variable. I forgot to write a way to upgrade this... just more for the 0.8.1 hitlist.

Upgrade from 0.7.3 to 0.8 problems

Posted: Sun Jan 02, 2005 1:07 am
by Ted
I have a quick hack to fix this in svn. I'll have to try to write something into the upgrade script.

Upgrade from 0.7.3 to 0.8 problems

Posted: Sun Jan 02, 2005 1:08 am
by Ted
I still can't see the html_blob problems. They work fine for me. I guess I'll have to install 0.7.3, add a blob, and then upgrade to see what happens.

Upgrade from 0.7.3 to 0.8 problems

Posted: Sun Jan 02, 2005 1:32 am
by Greg
Everything is back to normal with the changeset up to 1136 wishy including the htmlblobs !!

Thanks again... I'm impressed with your speedy work !

Upgrade from 0.7.3 to 0.8 problems

Posted: Sun Jan 02, 2005 1:58 am
by Ted
:) Thanks.

Though, I didn't do anything to html blobs. That's actually kind of distrubing...

Upgrade from 0.7.3 to 0.8 problems

Posted: Sun Jan 02, 2005 2:23 am
by Greg
I guess html_blobs aren't back to being fully functional.
I have blob called weather with the following

Code: Select all

<p align="center"><__script__ language=javascript>var LocationID = 'CASK0340';</__script>
<__script__ language=javascript src='http://www.theweathernetwork.com/weatherbutton/wxbutton.js'></__script>
</p>
When I put it in a page with {html_blob name="weather"} it doesn't render or show in the source code.
Also tried the blob with

Code: Select all

<p align="center">{literal}<__script__ language=javascript>var LocationID = 'CASK0340';</__script>
<__script__ language=javascript src='http://www.theweathernetwork.com/weatherbutton/wxbutton.js'></__script>{/literal}
</p>
The blob worked in 0.7.3 without the {literal} tags.

The second code block works if I put it directly in a content page.

To further confuse this, the blob worked with and without the {literal} tag in a preview of a page with the {html_blob name="weather"} inserted. But then doesn't show up when the actual page is accessed ??

Upgrade from 0.7.3 to 0.8 problems

Posted: Sun Jan 02, 2005 2:52 am
by Ted
Ok, that's helpful. I hopefully should be able to track that down. The way that html_blobs is supposed to work, is that {literal} would be required, because it gets pasted right into the page before it's sent to smarty. I'm VERY suprised that it worked without in 0.7.3. I'll check it out with that example.

Upgrade from 0.7.3 to 0.8 problems

Posted: Sun Jan 02, 2005 3:03 am
by Ted
I think it's fixed.

Upgrade from 0.7.3 to 0.8 problems

Posted: Sun Jan 02, 2005 3:11 am
by Greg
Yes you did :D

Upgrade from 0.7.3 to 0.8 problems

Posted: Sun Jan 02, 2005 3:12 am
by Ted
Sweet. I forsee a 0.8.1 in the next few hours. Got anything else? :)