FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Optimize Theme fail in 2.6.6
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Optimize Theme fail in 2.6.6 [message #19849] Mon, 13 September 2004 08:36 Go to previous message
rhinofly is currently offline  rhinofly   China
Messages: 15
Registered: August 2004
Karma:
Junior Member
Hi,

I have searched the bug report and found this: Optimize theme
http://fudforum.org/forum/index.php?t=msg&goto=15851&#msg_15851

I think I should say more about it.

I just installed New 2.6.6 forum,and goto Admin Control Panel -> Template Management -> Theme Manager -> Optimize Theme,now ,something show:

Warning: opendir(): Unable to access /data/virtual/forums.oss4e.org/public_html/include/theme/english_pi in /data/virtual/forums.oss4e.org/public_html/adm/admthemes.php on line 180

Warning: opendir(/data/virtual/forums.oss4e.org/public_html/include/theme/english_pi): failed to open dir: No such file or directory in /data/virtual/forums.oss4e.org/public_html/adm/admthemes.php on line 180

Warning: readdir(): supplied argument is not a valid Directory resource in /data/virtual/forums.oss4e.org/public_html/adm/admthemes.php on line 182

Warning: readdir(): supplied argument is not a valid Directory resource in /data/virtual/forums.oss4e.org/public_html/adm/admthemes.php on line 182

Warning: readdir(): supplied argument is not a valid Directory resource in /data/virtual/forums.oss4e.org/public_html/adm/admthemes.php on line 183

Warning: closedir(): supplied argument is not a valid Directory resource in /data/virtual/forums.oss4e.org/public_html/adm/admthemes.php on line 188


what is line 180?
		/* optimize *.inc files */
		$path = $WWW_ROOT_DISK . 'include/theme/' . $t_name;
		$dir = opendir($path);


So,I change the codes to:
		/* optimize *.inc files */
		//change by rhinofly
		//$path = $WWW_ROOT_DISK . 'include/theme/' . $t_name;
		$path = $DATA_DIR . 'include/theme/' . $t_name;
		$dir = opendir($path);



Ok,It's work.It this change right ?
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Unreadable forums cannot be collapsed by anonymous
Next Topic: Problem "solved" - nevermind & delete this thread :D
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 06:28:40 GMT 2024

Total time taken to generate the page: 0.04654 seconds