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 - Null primary key not allowed error

9 years 1 month ago
Licenses:
JomSocial Expired iSEO Expired Socialize Expired

ISSUE SUMMARY: I noticed a couple of days ago that images emails were not being sent from my server - when i ran cron i received the above error, normally I have a cron task that runs every 10 mins on the server but it appears that this isn't working anymore.


STEPS TO REPLICATE:
1 browse to url %url%/index.php?option=com_community&task=cron

RESULT
Null primary key not allowed error

EXPECTED RESULT
simple display of number of photos messages processed

BROWSER
Chrome / Firefox / Safari

9 years 1 month ago
Licenses:

Hi, Daniel.

I assign developer to this thread.
Please, use dev site.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 1 month ago
Licenses:
JomSocial Expired iSEO Expired Socialize Expired

ok what does use the dev site mean?

will a developer check this out and get back to me?

cheers dan

9 years 1 month ago
Licenses:

Hi Daneil,

I need administrator access detail. seem your site info not valid, I cant login to administrator with it.
please edit your first post at this topic. put it at site info form.

Regards

9 years 3 weeks ago
Licenses:
JomSocial Expired iSEO Expired Socialize Expired

just updated the credentials

9 years 3 weeks ago
Licenses:

Hi Daniel,

please try this fix:
edit /components/com_community/libraries/storage/s3.php at line 82 you can see this code

$item->load($storageid);
$item->delete();

changing it to
if ($storageid) {
$item->load($storageid);
$item->delete();
}

It would be great if you can provide me FTP access detail. so I can do ti for you.

Regards

9 years 3 weeks ago
Licenses:
JomSocial Expired iSEO Expired Socialize Expired

sorry for the delay responding i've made that update but still getting the same error - i can't give ftp access at the moment i'm afraid..

9 years 3 weeks ago
Licenses:

Hi Daniel,

try with this.

if ($item->load($storageid)) {
$item->delete();
}

if you cant provide me FTP, its really hard for me to tackle this issue ASAP.
if you want send that FTP more privately. This email address is being protected from spambots. You need JavaScript enabled to view it.

Regards

The following user(s) said Thank You: Ronnie
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