Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Cron Job Internal Server Error 500

10 years 9 months ago
  • Steven's Avatar
    Topic Author
  • Steven
  • Offline
  • Fresh Boarder
  • Posts: 50
  • Thank you received: 3
Licenses:
JomSocial Active AdAgency Expired iSEO Expired Socialize Expired

Albertus,

I disabled ModSecurity, reset the cron.php file to default, and ran the cron job again. It works now without any issues. Do you know what ModSecurity rule is causing this issue so that I can disable it?

Thank you and Blessings,
Steven Dunn

10 years 9 months ago
Licenses:

Hi,

I dont know about that. because the configuration is too complex. only server owner know about it.
please asking your server support about more detail.

Regards

10 years 9 months ago
  • Steven's Avatar
    Topic Author
  • Steven
  • Offline
  • Fresh Boarder
  • Posts: 50
  • Thank you received: 3
Licenses:
JomSocial Active AdAgency Expired iSEO Expired Socialize Expired

Albertus,

I have additional information for you after working with my server company. It appears to not be related to ModSecurity but instead that the cron script was simply timing out. With the cron.php file set as default, it was taking over 2.5 minutes for it to complete, after Apache settings were adjusted. However, when I comment out "$this->_createIndexFile(JPATH_ROOT . '/images');", the cron job completes in approximately 2 seconds.

What effect is commenting out "$this->_createIndexFile(JPATH_ROOT . '/images');" going to have on my site? What does that line of code do in any case?

I appreciate your assistance.

Thank you and Blessings,
Steven Dunn

10 years 9 months ago
Licenses:

Hi,

createIndexFile function is to create index file in all the folders to prevent being hack.
thats why we put some process at cronjob task, because some process need more time to be completed.

my suggestion, please put cronjob process at least every 5 minutes or more.

Regards

10 years 9 months ago
  • Steven's Avatar
    Topic Author
  • Steven
  • Offline
  • Fresh Boarder
  • Posts: 50
  • Thank you received: 3
Licenses:
JomSocial Active AdAgency Expired iSEO Expired Socialize Expired

Albertus,

I appreciate the reply.

Will the index time continue to increase as the number of files grow?

Blessings,
Steven

10 years 9 months ago
Licenses:

Hi,

the index file will not growing. if you have a look at /images/photos/ there is empty file with name index.html

Regards

10 years 8 months ago
  • Steven's Avatar
    Topic Author
  • Steven
  • Offline
  • Fresh Boarder
  • Posts: 50
  • Thank you received: 3
Licenses:
JomSocial Active AdAgency Expired iSEO Expired Socialize Expired

Albertus,

Thank you for the reply.

Let me rephrase my question, as it may not have been clear. Will the time it takes to run the index process continue to increase -how long it takes to complete- as more items are added?

Blessings,
Steven Dunn

10 years 8 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Steven,

adding index wont take too long on your cron process, technically just checking all folders on your server and adding index.htm if your site already hacked. Different with sending mailq, covert video, transfer file to amazon, those functions take more time to be processed.

thank you

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW