Comments

brucepearson’s picture

You can safely ignore this error, it is being displayed by mistake. I'll fix this in the next release.

zet’s picture

K thanks for your quick response and such a nice module. We will wait for the new version...

brucepearson’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

b2523’s picture

Version: 6.x-1.1 » 6.x-1.5
Component: User interface » Code
Status: Closed (fixed) » Active

I'm still getting these errors in version 6.x-1.5. I'm also getting the same error while the cron task is running.

brucepearson’s picture

I've fixed this for when cron is running. Can you tell me where else this occurs.

b2523’s picture

The error is always occurring twice when I click on edit at /admin/content/node or when I click on the edit tab in the page itself (/node/75/edit for example).

jozik’s picture

Version: 6.x-1.5 » 6.x-1.9
Status: Active » Fixed

We can't see this error appearing in recent version.

b2523’s picture

Version: 6.x-1.9 » 6.x-1.21
Status: Fixed » Active

Fixed when cron is running, but the error is still occurring twice when I click on edit at /admin/content/node or when I click on the edit tab in the page itself (/node/75/edit for example). Maybe good to know, I'm using this with Ubercart (edit product).

wranvaud’s picture

I get this error when I save some php code nodes but doesn't happen with all php code.
In addition to it I get an "internal server error" when hitting save.

Is it from my php code? I can't figure out what it is.
If I enter only the first half of my php code = it works
If I enter only the second half of php code = it works
I put the whole page and hit save = error.

After trying to save for the second time in a row I get a red flag "This content has been modified by another user, changes cannot be saved." (I'm the only user of this site, it's in off-line mode).

Checked .htaccess for rewrite and error document (http://drupal.org/node/416906) and also checked permissions of settings files and folders (http://drupal.org/node/629422). Did not help.

I'm on shared hosting, Drupal 6.20, Translation Management 6.x-1.21 and also tried with 6.x-1.x-dev.

I don't know what to do. Although pages are eventually saved most of the time the "input format" goes to plain text and language goes to neutral.

Any ideas?

brucepearson’s picture

Can you add an example of the php code you are saving?

wranvaud’s picture

StatusFileSize
new5.72 KB

wow, didn't expect an answer so fast!

The php will connect to a database (other than drupal), get user preferences in SESSION variable and display a table with the results.
I've attached the file and put some comments and simplified stuff (double checked to see if it still gives the error and it does)

Thx!!

pup55’s picture

StatusFileSize
new86.47 KB

I get this error when I visit the Translation Management->Status Check page

ducktape’s picture

StatusFileSize
new516 bytes

The function "icl_core_available_languages" get called in the form_alter for the node add form. Since the return values are not used in the form any more, I suppose it's safe to remove them from here. I've attached a patch to the 6.x-dev version for this particular case.

I found some other calls to '_icl_core_available_targets' in the icl_content module, but I'm not sure if they can be removed or need to be replaced by locale_language_list. Some examples are :
- theme_icl_content_fancy_status
- theme_icl_content_translated_status

dude4linux’s picture

I'm getting this error from icl_core on both the 6.x-1.21 release and 6.x-1.x-dev (2011-Feb-25). The errors occur twice whenever I visit the Translation Management->Status Check page as in #13 or when I edit one of the content types on Content management->Content types.

alexbk66-’s picture

I also get this error twice when I create new blog entry.

dmirtillo’s picture

I am also seeing this error in the drupal logs.

The error gets generated whenever i visit a node/edit page, where i can see another error in the translation management settings section:
"There is no language selected for this content. Please select a language above if you want this content translated."

The language is set for all the nodes, but they're all generating the two errors mentioned.

This is happening with the 1.22 version of the module.

alexbk66-’s picture

I think these errors were caused by putting 'translation management settings' or language selector in vertical tabs.

Anyway, I disabled Translation Management module and all errors are gone now, I'm happy.

HobbyBlob.com

skyl1ne’s picture

In my case, the problem was the result of a blank or empty Web ID in the Google Analytics settings.