Skip to main content Help Control Panel

YACS CMS : Open source !

Community «   Discussion forum «   Installation support «  

Blank page on scan.php

Cameron, BJ -- on Jan. 5 2006
Hi,

I am a new user trying to install YACS on Apache, PHP Version 4.3.10, and MySQL 3.23.58.

I get through the first part of the installation but when I get to scan.php?confirmed=Look+for+software+extensions I get a blank page. Suggestions?

Thanks,

BJ
Bernard
avatar
from nearby-an-airport
Associate, 6940 posts

on Jan. 6 2006


Have you checked the error log of the web daemon? The issue may be related to some PHP call that would be unsupported at your server. I would be interested in knowing which one...
BJ
4 posts

inspired from Bernard on Jan. 6 2006


Dear Bernard,

From the error log:

PHP Warning: fopen(httpdocs_Rally_yacs_.cache): failed to open stream: Permission denied in /httpdocs/Rally/yacs/shared/global.php on line 1044

PHP Warning: fwrite(): supplied argument is not a valid stream resource in /httpdocs/Rally/yacs/shared/global.php on line 1045

PHP Warning: fclose(): supplied argument is not a valid stream resource in /httpdocs/Rally/yacs/shared/global.php on line 1046

PHP Warning: render_skin(httpdocs_Rally_yacs_.cache): failed to open stream: No such file or directory in /httpdocs/Rally/yacs/shared/global.php on line 1049

PHP Fatal error: render_skin(): Failed opening required 'httpdocs_Rally_yacs_.cache' (include_path='.:/usr/share/pear') in /httpdocs/Rally/yacs/shared/global.php on line 1049

It looks like it expects some .cache file to exist? Is something not getting created? I am not getting any permission errors that I know of...

Thanks,

BJ
BJ
4 posts

on Jan. 6 2006


Dear Bernard,

I fixed the problem by changing the permissions for /skins/skeleton/

Perhaps this needs to be checked on the initial setup page.

Thanks for your help,

BJ
Bernard
avatar
from nearby-an-airport
Associate, 6940 posts

inspired from BJ on Jan. 7 2006


BJ: This is a very bright idea. Can you share your new setings please?

I am currently updating the readme.txt file provided with the YACS archive to further expand on permissions settings, etc. And of course, if I knew what to look at, a test would be added to setup.php as well related to scan.php.

Thank you very much for your feed-back
BJ
4 posts

on Jan. 7 2006


Bernard:

Since I am not the root user, I had to chmod 777 the /skins/skeleton/ directory to allow the .cache file to be created.

Thanks, BJ
Bernard
avatar
from nearby-an-airport
Associate, 6940 posts

inspired from BJ on Jan. 8 2006


BJ: For your information, YACS transforms template file template.php to fix relative path issues, and cache files to speed subsequent use of these files. Therefore the need to write .cache files in skin directories.

I will definitely add something to the setup script. Also, maybe YACS sometimes could work even if it cannot cache files...

Thank you for the tip.

 
Share
Information channels
Recent files