Upgrade from 0.7.3 to 0.8 problems

General project discussion. NOT for help questions.
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm
Location: Saskatchewan - Canada

Upgrade from 0.7.3 to 0.8 problems

Post 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
Greg
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Upgrade from 0.7.3 to 0.8 problems

Post by Ted »

In index.php?
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm
Location: Saskatchewan - Canada

Upgrade from 0.7.3 to 0.8 problems

Post 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. ??
Greg
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Upgrade from 0.7.3 to 0.8 problems

Post by Ted »

Ok, I'll look into it. Thanks.
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm
Location: Saskatchewan - Canada

Upgrade from 0.7.3 to 0.8 problems

Post 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.
Greg
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Upgrade from 0.7.3 to 0.8 problems

Post 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.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Upgrade from 0.7.3 to 0.8 problems

Post by Ted »

I have a quick hack to fix this in svn. I'll have to try to write something into the upgrade script.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Upgrade from 0.7.3 to 0.8 problems

Post 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.
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm
Location: Saskatchewan - Canada

Upgrade from 0.7.3 to 0.8 problems

Post 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 !
Greg
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Upgrade from 0.7.3 to 0.8 problems

Post by Ted »

:) Thanks.

Though, I didn't do anything to html blobs. That's actually kind of distrubing...
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm
Location: Saskatchewan - Canada

Upgrade from 0.7.3 to 0.8 problems

Post 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 ??
Greg
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Upgrade from 0.7.3 to 0.8 problems

Post 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.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Upgrade from 0.7.3 to 0.8 problems

Post by Ted »

I think it's fixed.
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm
Location: Saskatchewan - Canada

Upgrade from 0.7.3 to 0.8 problems

Post by Greg »

Yes you did :D
Greg
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Upgrade from 0.7.3 to 0.8 problems

Post by Ted »

Sweet. I forsee a 0.8.1 in the next few hours. Got anything else? :)
Post Reply

Return to “General Discussion”