VinceN Posted May 20, 2008 Report Posted May 20, 2008 When requesting a page that does not exist via the "?page=content&p=x" function the following is displayed.Warning: SiteData::GetPageContent(/var/www/vhosts/ceruleanairlines.com/subdomains/test/httpdocs/core/pages/privacypolicy.htm) [function.GetPageContent]: failed to open stream: No such file or directory in /var/www/vhosts/ceruleanairlines.com/subdomains/test/httpdocs/core/common/SiteData.class.php on line 119Warning: SiteData::GetPageContent() [function.include]: Failed opening '/var/www/vhosts/ceruleanairlines.com/subdomains/test/httpdocs/core/pages/privacypolicy.htm' for inclusion (include_path='.:') in /var/www/vhosts/ceruleanairlines.com/subdomains/test/httpdocs/core/common/SiteData.class.php on line 119I would recommend a more graceful error message such as a 404 Page or something to that extent.EDIT: It should be noted that this error occurs when you have defined a page in the control panel but renamed or deleted the actual file in /core/pages Attempting to load a page that has not been defined does return a "Page not found" error so in retrospect maybe the technical error in this case is fine. Quote
Administrators Nabeel Posted May 20, 2008 Administrators Report Posted May 20, 2008 Yep, this has been fixed already Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.