smarty RENAME-Errors drive me crazy (Drupal 4.7 embedding gallery 2.2)

lobster

Joined: 2007-01-03
Posts: 2
Posted: Wed, 2007-01-03 21:53

Hi,
I'm getting an error I couldn't solve yet.

Gallery 2.2 as standalone seems to work. But the integration into drupal 4.7 using the gallery-module gives me errors like this on every page. I'm using xampp 1.5.5 (Apache with PHP 5.2) on windows xp.
Deleting the files in templates_c doesn't do it; they're created once again...any ideas?

Thanks!

L.

Quote:
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAA7.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%9E^9E2^9E27C8E6%%SearchBlock.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAA8.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%C2^C21^C21DE843%%SidebarBlock.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAA9.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%3B^3B1^3B1A61A2%%ItemLinks.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAAA.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%C2^C21^C21DE843%%SidebarBlock.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAAB.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%83^834^8342AFE8%%PeerList.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAAC.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%C2^C21^C21DE843%%SidebarBlock.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAAF.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%3A^3A8^3A818B59%%theme.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAB0.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%55^55E^55E14245%%SystemLinks.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAB1.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%FD^FD9^FD9328A6%%BreadCrumb.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAB2.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%42^42C^42CE7724%%album.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAB3.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%C7^C79^C79EEB7F%%ItemInfo.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAB4.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%3B^3B1^3B1A61A2%%ItemLinks.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAB5.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%C7^C79^C79EEB7F%%ItemInfo.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAB6.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%3B^3B1^3B1A61A2%%ItemLinks.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAB7.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%C7^C79^C79EEB7F%%ItemInfo.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAB8.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%3B^3B1^3B1A61A2%%ItemLinks.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAB9.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%C7^C79^C79EEB7F%%ItemInfo.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtABA.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%3B^3B1^3B1A61A2%%ItemLinks.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtABB.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%C7^C79^C79EEB7F%%ItemInfo.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtABC.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%3B^3B1^3B1A61A2%%ItemLinks.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtABD.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%C7^C79^C79EEB7F%%ItemInfo.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtABE.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%3B^3B1^3B1A61A2%%ItemLinks.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtABF.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%C7^C79^C79EEB7F%%ItemInfo.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAC0.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%3B^3B1^3B1A61A2%%ItemLinks.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAC1.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%C7^C79^C79EEB7F%%ItemInfo.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAC2.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%F7^F79^F79B0B46%%Pager.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAC3.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%7D^7DC^7DCBB707%%GuestPreview.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAC4.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%EF^EFB^EFB895FB%%EmergencyEditItemLink.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.
warning: rename(C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\wrtAC5.tmp,C:\Programme\xampp\htdocs\htmlD\galerien\hymipix\smarty\templates_c\%%3985163453\%%70^703^703581AA%%ViewComments.tpl.php) [function.rename]: File exists in C:\Programme\xampp\htdocs\htmlD\galerien\lib\smarty\internals\core.write_file.php on line 40.

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Fri, 2007-01-05 11:30

I have not seen this issue on any Drupal gallery before. Maybe clearing the G2 cache (http://codex.gallery2.org/index.php/Gallery2:FAQ#How_can_I_clear_cached_data.3F) may help (does it do more than just delete the files as you have already done?), although it does not explain why it is only an embedded problem.

 
lobster

Joined: 2007-01-03
Posts: 2
Posted: Fri, 2007-01-05 12:20

Hiya,
clearing the cache of drupal and G2 was tried and didn't change a bit. It seems that the generated smarty compiled file-names are not accepted by windows so deleting the old ones don't work.
But funny - if this function is used by the stand-alone version (which I don't know for sure) then it does work - as long as not calling the embedded Drupal-version of gallery.

I overwrote the gallery module to ensure that there are no missing files - but no change. I don't dare overwriting the gallery-installation as I have imported tons of stuff from G1 and I don't want to loose this work.

I think I will try to upload the stuff to my unix-server. There it should at least work using rename...

Yup, I know - encountering an error never reported by anyone before is strange and could mean that
a) I'm a genious and did something never done before
b) I did something really silly

But WHAT did I do which I can't remember??

L.