Dear All;
I am using a theme logic in the chat rooms.
I am using the X7Chat package. I try it on the local host it is
working very fine, but when I uploaded it to our servers I have faced
this problem :
Warning: file(./themes//window.tpl) [function.file]: failed to open
stream: No such file or directory in C:\inetpub\vhosts\abiayubmodel.com
\httpdocs\chat\lib\output.php on line 221Warning: implode()
[function.implode]: Invalid arguments passed in C:\inetpub\vhosts
\abiayubmodel.com\httpdocs\chat\lib\output.php on line 222Warning:
load_skin::include(./themes//theme.info) [load-skin.include]: failed
to open stream: No such file or directory in C:\inetpub\vhosts
\abiayubmodel.com\httpdocs\chat\lib\output.php on line 159Warning:
load_skin::include(./themes//theme.info) [load-skin.include]: failed
to open stream: No such file or directory in C:\inetpub\vhosts
\abiayubmodel.com\httpdocs\chat\lib\output.php on line 159Warning:
load_skin::include() [function.include]: Failed opening './themes//
theme.info' for inclusion (include_path='C:\Program Files
(x86)\Parallels\Plesk\Additional\PleskPHP5\pear;./;./includes;./pear')
in C:\inetpub\vhosts\abiayubmodel.com\httpdocs\chat\lib\output.php on
line 159
MY folders List are Like that :
-chat
-index.php
|-----lib
     |------output.php
|----theme
   |-----MY themes are here
so in the index.php there is include('output.php');
and in output.php there is :
// Load the theme information   include("./themes/$skin/
theme.info");      // This variable helps images find their way
$this->image_path = "./themes/$skin/";      // Advanced theme (it has
all its style sheets)   if($theme_type == 2){
    // Load the Global Style Sheets    $theme_ss = file("./themes/
$skin/$style_sheet");    $theme_ss = implode("",$theme_ss);
$theme_ss = eregi_replace("url\(","url(./themes/$skin/",$theme_ss);
$this->style_sheet = $theme_ss;
I have tried to give the physical path but not working , I have tried
to update my php.ini to Allow_url change it to on but not working ,
can any body help?
Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to