The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Link, Picture, Video show error!
exer
post 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!!

sad.gif((((
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post 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/ . biggrin.gif

The only missing image I see is spiderman.jpg, which apparently isn't in layout/baneri/.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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. sad.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
exer
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
exer
post 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>

&nbsp;</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>

&nbsp;</p>

<p>

Link:</p>

<p>

<a href=\"http://e-sport.hr\">http://e-sport.hr</a></p>

</p>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
exer
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
exer
post 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??
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Oct 3 2011, 01:05 PM
Post #11


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



QUOTE(exer @ Oct 3 2011, 06:49 PM) *

What is that link you give me??

It's about PHP "magic quotes". It may not necessarily be related to your problem...
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
exer
post 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"
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
exer
post 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..
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Oct 3 2011, 03:43 PM
Post #14


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



QUOTE(exer @ Oct 3 2011, 09:02 PM) *

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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th April 2024 - 11:27 AM