Link, Picture, Video show error! |
Link, Picture, Video show error! |
exer |
Oct 2 2011, 08:16 PM
Post
#1
|
Group: Members Posts: 7 Joined: 2-October 11 Member No.: 15,545 |
Hi all
I have online portal on adress e-sport.hr and im trying to add link, picture, video in my news. But when i'm writing new news in CKEditor i can see link, picture, video then i press SUBMIT and go to portal to review that news and i get broken picture icon every time, no mather if i uploaded picture or linked to picture. I try to change editor to TinyMCE but the error's are not stoping. Please someone HELP!! (((( |
pandy |
Oct 3 2011, 12:08 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,731 Joined: 9-August 06 Member No.: 6 |
Is the URL to the image correct? See http://htmlhelp.com/faq/html/images.html#broken-image .
If you post the URL to the page we can help you troubleshoot. |
Frederiek |
Oct 3 2011, 01:42 AM
Post
#3
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
That would be http://e-sport.hr/ .
The only missing image I see is spiderman.jpg, which apparently isn't in layout/baneri/. |
pandy |
Oct 3 2011, 05:23 AM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,731 Joined: 9-August 06 Member No.: 6 |
Sigh.
|
exer |
Oct 3 2011, 10:28 AM
Post
#5
|
Group: Members Posts: 7 Joined: 2-October 11 Member No.: 15,545 |
No no no guy's that is not error, that i know. But when i post new news under category "Vijesti" then i get error i can't post link,video,picture in my news. I will post a test news so you can see it.
|
exer |
Oct 3 2011, 10:33 AM
Post
#6
|
Group: Members Posts: 7 Joined: 2-October 11 Member No.: 15,545 |
CODE:
<p> This is the error i get!</p> <p> Picture:</p> <p> <img alt=\"\" src=\"http://www.pro-promotion.com.hr/images/error.gif\" style=\"width: 249px; height: 222px; \" /></p> <p> </p> <p> Video:</p> <p> <span class=\"media_embed\"><iframe allowfullscreen=\"\" frameborder=\"0\" height=\"315\" src=\"http://www.youtube.com/embed/MVGa67cmy3s?rel=0\" width=\"560\"></iframe></span></p> <p> </p> <p> Link:</p> <p> <a href=\"http://e-sport.hr\">http://e-sport.hr</a></p> </p> |
Christian J |
Oct 3 2011, 11:45 AM
Post
#7
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
That looks like something is escaping the quotes. In PHP it could be http://php.net/manual/en/security.magicquotes.php --if so, you might use the PHP stripslashes() function to remove them.
|
exer |
Oct 3 2011, 11:47 AM
Post
#8
|
Group: Members Posts: 7 Joined: 2-October 11 Member No.: 15,545 |
Thanks i will check that up right now
|
exer |
Oct 3 2011, 11:49 AM
Post
#9
|
Group: Members Posts: 7 Joined: 2-October 11 Member No.: 15,545 |
What is that link you give me??
|
pandy |
Oct 3 2011, 12:04 PM
Post
#10
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,731 Joined: 9-August 06 Member No.: 6 |
I don't understand what happens. Do you get what you posted returned in an error message and the new entry is never made or is it the source of the new post?
|
Christian J |
Oct 3 2011, 01:05 PM
Post
#11
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
|
exer |
Oct 3 2011, 02:02 PM
Post
#12
|
Group: Members Posts: 7 Joined: 2-October 11 Member No.: 15,545 |
What should I do with that "magic quotes"
|
exer |
Oct 3 2011, 02:03 PM
Post
#13
|
Group: Members Posts: 7 Joined: 2-October 11 Member No.: 15,545 |
It's the source of the new post..
|
Christian J |
Oct 3 2011, 03:43 PM
Post
#14
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
What should I do with that "magic quotes" Are you familiar with PHP? If your webhost has enabled magic quotes (you might test that with the get_magic_quotes_gpc() function) you may have to use the PHP stripslashes() function on the form data submitted by CKEditor. But I'm just guessing, I'm not familiar with CKEditor. |
pandy |
Oct 4 2011, 05:20 AM
Post
#15
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,731 Joined: 9-August 06 Member No.: 6 |
If that's the case, can't you turn magic quotes off again? I mean with .htaccess or something.
|
Lo-Fi Version | Time is now: 26th April 2024 - 11:27 AM |