HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


RSS Atom error for Comcode Pages

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#108225 (In Topic #21089)
TQ
Avatar

Honoured member

I get the following error when accessing the Atom RSS 'Comcode Pages' via the sitemap.

Code

PHP WARNING [2] filectime() [<a href='http://www.php.net/manual/en/function.filectime.php'>function.filectime.php</a>]: stat failed for /pages/comcode_custom/EN/start.txt in sources\hooks\systems\rss\comcode_pages.php on line 78 (version: 9.0.19, PHP version: 5.3.24, URL: /backend.php?type=atom&mode=comcode_pages&days=30&max=100&keep_session=407326015)
I have strictly applied patch #1916 and have checked that \sources\hooks\systems\rss\comcode_pages.php was correctly applied.

The error may be viewed at here

TQ
Back to the top
 
Posted
Rating:
#108233
Avatar

Community saint

To help rule in or out some possible causes, can you answer these questions:

Was the error happening before applying the patch or did you apply the patch in an attempt to fix that error?

Does the <path_to_your_ocportal_root_directory>/pages/comcode_custom/
EN/start.txt file exist on your web server?

Are the file permissions on /pages/comcode_custom/EN/start.txt set correctly?

Is your site on a Windows or Linux server?
Back to the top
 
Posted
Rating:
#108249
TQ
Avatar

Honoured member

Jason Verhagen said

To help rule in or out some possible causes, can you answer these questions:

Was the error happening before applying the patch or did you apply the patch in an attempt to fix that error?

Does the <path_to_your_ocportal_root_directory>/pages/comcode_custom/
EN/start.txt file exist on your web server?

Are the file permissions on /pages/comcode_custom/EN/start.txt set correctly?

Is your site on a Windows or Linux server?

Hi Jason,

Long time no chat  :P Your 'Downloads email' add-on is still doing us proud on the site.

The server is Windows and in answer to your first question, NO, the start.txt didn't exist. The folder permissions are correct.

I created a blank start.txt and everything works perfectly as far as I can see so, thanks to your enquiry, the problem is solved.

Many thanks

TQ
Back to the top
 
Posted
Rating:
#108250
TQ
Avatar

Honoured member

TQ said

I created a blank start.txt and everything works perfectly as far as I can see so, thanks to your enquiry, the problem is solved.

Strike that! When I went back to the HOME page (=start) the page was blank!

I've now copied the start.txt page from comcode to comcode_custom to resolve both issues which begs the question, why is the site looking to the _custom folder and, if I update the home page, will the info be reflected in the _custom folder in future.

I'm also wondering why the _custom version didn't exist since I've edited (within OCP) the start page many times.

The basic mechanisum must be working (including permissions) because I can see many versions of other edited pages.

TQ
Back to the top
 
Posted
Rating:
#108252
Avatar

Will take a look soon.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#108254
TQ
Avatar

Honoured member

Chris Graham said

Will take a look soon.

Thanks Chris

TQ
Back to the top
 
Important!
Posted
Rating:
#108268
Avatar

Automated fix message

TQ said

I get the following error when accessing the Atom RSS 'Comcode Pages' via the sitemap.

Code

PHP WARNING [2] filectime() [<a href='http://www.php.net/manual/en/function.filectime.php'>function.filectime.php</a>]: stat failed for /pages/comcode_custom/EN/start.txt in sources\hooks\systems\rss\comcode_pages.php on line 78 (version: 9.0.19, PHP version: 5.3.24, URL: /backend.php?type=atom&mode=comcode_pages&days=30&max=100&keep_session=407326015)
I have strictly applied patch #1916 and have checked that \sources\hooks\systems\rss\comcode_pages.php was correctly applied.

The error may be viewed at here

TQ
This issue has been filed on the tracker as issue #1956, with a fix.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Important!
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: