Jump to content

Bug (sort of)


VinceN

Recommended Posts

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...