- Posts: 1
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- Gallery and/or Video from other items appearing on new k2 items
Gallery and/or Video from other items appearing on new k2 items
- Marc S. Boas
-
Topic Author
- Offline
- New Member
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
Has anyone been in the backend of mysql changing things?
Does this have anything to do with a cache issue?
just guessing
Please Log in or Create an account to join the conversation.
- Bryan Smith
-
- Offline
- Premium Member
- Posts: 130
This time I have a little more info because it just happened.
Website is joomla 1.5.17 k2.2
Today I opened an existing article and added a youtube video and an image gallery to the article. Now every article in that category that did not have a gallery or video has the same content in the db
k2 the db looks like this
{youtube}l2iZl1dgvzc{/youtube} {gallery}10{/gallery}
{youtube}l2iZl1dgvzc{/youtube} {gallery}10{/gallery}
{youtube}l2iZl1dgvzc{/youtube} {gallery}10{/gallery}
{youtube}l2iZl1dgvzc{/youtube} {gallery}10{/gallery}
{youtube}l2iZl1dgvzc{/youtube} {gallery}10{/gallery}
no, not deleted any items. This is a fairly new site.
nothing done on the backend.
Don't know how this is caching. I did not open each of the items that now has the duplicate content. The content was written into those records.
Please Log in or Create an account to join the conversation.
- natecovington
-
- Offline
- Senior Member
- Posts: 68
Running Joomla 1.5.21 and K2 2.4.1 on a local server here, brand new site / fresh install. Had a news item with video and gallery. Edited another item and the video and gallery from the other item was stuck to this one.
Glad to know I'm not the only one with this - any help?
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
When adding an item there must be - insert into jos_items and the first field id is autoincrement, gets a unique k2 item number.
Looking at the created record from the "real backend" you can see the tag inserted in the gallery field contains the unique k2 item number.
If this record is edited and a gallery added it should issue a mysql update command for id="k2id number" affecting only one record.
The behavior described must be some sort of problem with either bad code in the k2 or joomla core, or something wrong with mysql.
Since this seems to happen on sites that are working, What changed just prior to this behavior? Were new "bad" extensions added?
Please Log in or Create an account to join the conversation.
- Bryan Smith
-
- Offline
- Premium Member
- Posts: 130
Strange characters in the filenames of images in the zip files.
Everytime I had this happen I was able to find some strange characters in a filename.
Scrubbing filenames for spaces and characters now and it's never happened again.
I use Bulk Rename Utility which you can find on the web. Awesome tool!!
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
Lownotes said:I'm pretty sure that I've identified the cause of this.
Strange characters in the filenames of images in the zip files.
Everytime I had this happen I was able to find some strange characters in a filename.
Scrubbing filenames for spaces and characters now and it's never happened again.
I use Bulk Rename Utility which you can find on the web. Awesome tool!!
Please Log in or Create an account to join the conversation.
- Josh
-
- Offline
- Senior Member
- Posts: 63
Please Log in or Create an account to join the conversation.
- Josh
-
- Offline
- Senior Member
- Posts: 63
thanks, Josh
Please Log in or Create an account to join the conversation.
- Farid
-
- Offline
- Junior Member
- Posts: 28
most of new items have videos and galleries from other published items.
I urgently need to fix this issue!
any suggestions?
Please Log in or Create an account to join the conversation.
- Josh
-
- Offline
- Senior Member
- Posts: 63
In the mean time I have to manually monitor and remove incorrect galleries from articles.
Does anyone know where you can inspect the actual names of the uploaded zip folders. I know they get stored in numbered folders inside /media however is it possible that the actual zip files name (if it contains spaces or other characters) could be causing the problem?
Please Log in or Create an account to join the conversation.
- Alan Sparkes
-
- Offline
- Premium Member
- Posts: 118
Please Log in or Create an account to join the conversation.
- Alan Sparkes
-
- Offline
- Premium Member
- Posts: 118
However I can confirm that we were using 2.4.1 and that the database had the same youtube tags on many articles in the video column. If you can I suggest removing from db and testing with SVN version.
The save function happens in the item model and there is nothing really in there that looks wrong or obvious as a culprit. It uses main core Joomla functions to perform the save Alan Sparkes said:
Have just hit this problem too in K2 svn 2.5 . Am working on solution this morning
Please Log in or Create an account to join the conversation.
- Josh
-
- Offline
- Senior Member
- Posts: 63
Please Log in or Create an account to join the conversation.
- Momchil
-
- Offline
- New Member
- Posts: 4
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- Gallery and/or Video from other items appearing on new k2 items