This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
I have just installed the latest version of CentOS and the automated virtualmin install. None of my iframe or php includes are showing up on the pages. Any ideas on how to fix this?
Nothing about a typical install should prevent PHP includes or iframes from working.
I'd suggest two things --
Look in the Apache error logs, and look for any clues in there. That's in $HOME/logs/error_log.
You can always post an example of the code you're using that's not working, and perhaps a link to the site as well. We can see if something stands out as the problem.
Howdy,
Nothing about a typical install should prevent PHP includes or iframes from working.
I'd suggest two things --
Look in the Apache error logs, and look for any clues in there. That's in $HOME/logs/error_log.
You can always post an example of the code you're using that's not working, and perhaps a link to the site as well. We can see if something stands out as the problem.
-Eric
Here is the site:
http://www.patriotfiles.com
Here is the code:
<center><br><IFRAMEĀ SRC="randomimage_block2.php" WIDTH=130 HEIGHT=160 FRAMEBORDER=0 SCROLLING=no ALLOWTRANSPARENCY=TRUE></IFRAME>
The places it is not showing up are on the home page under the headings "Random Photos" and "Did you know".
Another site is not processing php includes.
Here is the code from that site:
<?php virtual ("./cgi-bin/cannonhost/random.cgi"); ?>
I do not have the files in the proper cgi directory but the odd thing is there is no error on the page failing to include the file.
Thank you for your reply.
Ok I looked at the error log and found the problem was bad paths. This server was migrated from a Windows 2003 Enterprise box.
Thank you again for your reply.
Sure thing... glad you got it working!
-Eric