Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Contribution Issue


366 replies to this topic

#1 Hugo RSF

  • Community Member
  • 35 posts
  • Real Name:Hugo Figueiredo

Posted 19 February 2005, 21:07

Hi guys,

I've installed the Extra pages-info box w/ admin contribution, but i'm dealing with a problem...

Everything is working fine but i want to create a new page with some links on it.

The problem is that every links i insert on a page are stored incorrectly in the database. For instance:

I want to create a page with the next html code:

<p><a href="/includes/my_image.gif">My image</a></p>

When i click to Save (in Admin of course) and enter again the page, the code is changed to:

<p><a href=\"/includes/my_image.gif\"?osCAdminID=92c6dfaaf69fddc9a5dc3b83d24e9c66>My image</a></p>


Is there any way to enter a link and this contribution don't change it for it self? The code stored is the code that i realy enter?!...


Thanks in advance!

#2 Hugo RSF

  • Community Member
  • 35 posts
  • Real Name:Hugo Figueiredo

Posted 20 February 2005, 16:47

Any help, please!!! :'(

#3 jocke4u

  • Community Member
  • 19 posts
  • Real Name:Joacim J
  • Location:Alingsås, Sweden

Posted 23 February 2005, 19:13

I have a similar problem, inserting a image link

<img width="60" height="60" src="/OSC_M2/images/account_personal.gif" alt=""/><br/>

after save it's look like:

<img width="60" height="60" src="\&quot;/OSC_M2/images/account_personal.gif\&quot;/" alt="\&quot;\&quot;"/>

I will look at it....
BR
Joacim

#4 jocke4u

  • Community Member
  • 19 posts
  • Real Name:Joacim J
  • Location:Alingsås, Sweden

Posted 23 February 2005, 22:18

I think it was solved and I have uploaded the file to:
http://www.oscommerce.com/community/contributions,2021
BR
Joacim

#5 benthompson

  • Community Member
  • 2 posts
  • Real Name:Benan

Posted 23 February 2005, 22:51

jocke4u, on Feb 23 2005, 10:18 PM, said:

I think it was solved and I have uploaded the file to:
http://www.oscommerce.com/community/contributions,2021

<{POST_SNAPBACK}>


I always prefer fixing problems instead of deleting the part with the problems...The part you deleted is a really nice portion of the script :)

So I fixed this and re-uploaded the complete zip archive...

Enjoy...

Thanks
Benan Tumkaya

#6 kwe1009

  • Community Member
  • 5 posts
  • Real Name:Michael

Posted 24 February 2005, 13:13

benthompson, on Feb 23 2005, 05:51 PM, said:

I always prefer fixing problems instead of deleting the part with the problems...The part you deleted is a really nice portion of the script :)

So I fixed this and re-uploaded the complete zip archive...

Enjoy...

Thanks
Benan Tumkaya

<{POST_SNAPBACK}>



I installed your updated but I still get the same problem mentioned above. Any ideas? Thanks

#7 butterflyguy

  • Community Member
  • 39 posts
  • Real Name:Ray
  • Location:Fort Lauderdale, FL

Posted 25 February 2005, 07:46

hey guys,

i have installed (partially) the same contribution. i ran the sql and made all the canges to the files, but the instructions call to

Quote

2) Upload all files to their respective folders..

the only problem is it doesnt specify which folders are the respective ones. can you please shed light on this.

thanks

#8 benthompson

  • Community Member
  • 2 posts
  • Real Name:Benan

Posted 25 February 2005, 09:55

butterflyguy, on Feb 25 2005, 07:46 AM, said:

hey guys,

i have installed (partially) the same contribution.  i ran the sql and made all the canges to the files, but the instructions call  to
the only problem is it doesnt specify which folders are the respective ones.  can you please shed light on this.

thanks

<{POST_SNAPBACK}>


Hi,

Respective means: You have got the same folders in your oscommerce script as the ones in the zip file.

So in the zip file, if there is a file in: catalog/includes/ , you need to upload it to catalog/includes in your server.

That is what we call 'respective'

I hope this helps.

Thanks
Benan

#9 Sincraft

  • Community Member
  • 349 posts
  • Real Name:Scott

Posted 25 February 2005, 10:03

I'm having serious issues with this contribution. I have the previous version installed on another site and it works fine so I may just upload those files.
1st- the editor both rich and normal > adds extra /// in front and around throughout the url EVERYTIME you open the file to edit.
2nd-If you put the url in say: www.example.com to go to, when you goto the page it is on, it duplicates the link like this http://www.example.com"http://www.example.com//" What's up with the extra / and "'s and url in this?
3rd- when you use the rich editor, it seems to insert things fine when you create a link from highlighted text, but then repeats teh same problem above or other goofy things.
4th- Whenever I have a word like What's New. I makes the text look like this: What/'s new. So I go in to edit out that / and refresh the page, now I have a What//'s new. Eventually all words with appostrohpes look like this after a few edits: What////'s new here, it////'s a great day.

Is there a way to use another editor as the default plain and rich text editors seem to be broken at best.

I also tried downloading the 'fixed' file someone uploaded but it doesn't work any better.

I haven't even tried to insert images, don't want to knwo what's gonnahappen.

#10 Sincraft

  • Community Member
  • 349 posts
  • Real Name:Scott

Posted 25 February 2005, 11:17

I would suggest that people use version 3_2.4 - the versions above that do not work as the editors are both screwed up. 3_2.4 installs easy, and works perfectly when you insert links.
I reinstalled 3_2.4 after removing both pages and pagedescriptoin tables from my database and all associated newer version files, and it works fine.
I'm surprised noone caught this before uploading - I even tried starting from scratch on a STOCK osC build and it does the same thing so I know it's not me or on my end. Initial install was on one server, osC stock install was on another so there are no server side php issues that I can see.

Don't bother replying to me in this thread, I'm fine using hte older version...thanks and gl to everyone..

S

#11 jocke4u

  • Community Member
  • 19 posts
  • Real Name:Joacim J
  • Location:Alingsås, Sweden

Posted 25 February 2005, 13:07

benthompson, on Feb 24 2005, 12:51 AM, said:

I always prefer fixing problems instead of deleting the part with the problems...The part you deleted is a really nice portion of the script :)

So I fixed this and re-uploaded the complete zip archive...

Enjoy...

Thanks
Benan Tumkaya

<{POST_SNAPBACK}>


OK, what nice feature portion did I remove??
From my tests it's running just fine, and I have also removed the htmlArea and uses FCKEditor 2 RC2 instead.
My changes is also made in the same style as in std OSC categories.php. I think it's much better to keep the OSC coding style.

// Jocke
BR
Joacim

#12 Hugo RSF

  • Community Member
  • 35 posts
  • Real Name:Hugo Figueiredo

Posted 25 February 2005, 16:01

Here do u find version 3_2.4??? :blink:

#13 butterflyguy

  • Community Member
  • 39 posts
  • Real Name:Ray
  • Location:Fort Lauderdale, FL

Posted 25 February 2005, 17:26

Sincraft, on Feb 25 2005, 06:17 AM, said:

I would suggest that people use version 3_2.4 - the versions above that do not work as the editors are both screwed up. 3_2.4 installs easy, and works perfectly when you insert links. 
I reinstalled 3_2.4 after removing both pages and pagedescriptoin tables from my database and all associated newer version files, and it works fine. 
I'm surprised noone caught this before uploading - I even tried starting from scratch on a STOCK osC build and it does the same thing so I know it's not me or on my end.  Initial install was on one server, osC stock install was on another so there are no server side php issues that I can see.

Don't bother replying to me in this thread, I'm fine using hte older version...thanks and gl to everyone..

S

<{POST_SNAPBACK}>



Sincraft, could you please post exactly which version 3_2.4 is, i would like to try it out. Thanks

#14 Hugo RSF

  • Community Member
  • 35 posts
  • Real Name:Hugo Figueiredo

Posted 01 March 2005, 09:13

butterflyguy, on Feb 25 2005, 05:26 PM, said:

Sincraft,  could you please post exactly which version  3_2.4 is, i would like to try it out.  Thanks

<{POST_SNAPBACK}>


Ok, i find the 2_2.4 contribution and installed.

It's true, the issue mentioned in this topic (add "/" in every view; links don't work, etc...) is solved in this version.

Anyway i'm having a problem with it. I configure a new Page im Admin, but nothing is shown on the respective boxe's store. The box is shown but no pages are seen.


Any help, please!?

#15 Zickarena

  • Community Member
  • 21 posts
  • Real Name:Geoff Tate

Posted 01 March 2005, 19:08

So anything above 3_2.4 is not working correctly or is 4 working?

Edited by Zickarena, 01 March 2005, 19:08.


#16 Hugo RSF

  • Community Member
  • 35 posts
  • Real Name:Hugo Figueiredo

Posted 02 March 2005, 10:57

I'm not sure about it, the truth is that version 3_2.4, works fine to me (and to more other members).

Meanwhile, i solved my problem. The pages created, can't be configured in sort order to 0(zero), only 1 or more. Pages that Sort Order are set to zero, don't appear in the respective info box.

#17 passage

  • Community Member
  • 2 posts
  • Real Name:Erik Thorsen

Posted 06 March 2005, 12:01

Would it be possible to install version 3_2_4 above the 4_1 version or would I have to delete everything I have done so far and make a clean reinstall??
Please tell me I can just install over the 4_1 version.

I am surprised this has not yet been fixed. I downloaded the 4_1 version and assumed that everything would work smooth. But links, images and everything else still gets messed up with the added //.

If there is a soulution to this or a quick "way out" please do let me know. Would it help to install another wyswig editor instead?

Hope someone can reply to my questions.

Best regards,

Passage

#18 devine952

  • Community Member
  • 69 posts
  • Real Name:Rob
  • Gender:Male

Posted 06 March 2005, 18:50

Wondering if it is possible to use HTML WYSIWYG Editor (Contrib 1347) instead of the editor provided with "Extra Pages".

Any body tried this?

#19 devine952

  • Community Member
  • 69 posts
  • Real Name:Rob
  • Gender:Male

Posted 06 March 2005, 23:14

devine952, on Mar 6 2005, 12:50 PM, said:

Wondering if it is possible to use HTML WYSIWYG Editor (Contrib 1347) instead of the editor provided with "Extra Pages".

Any body tried this?

<{POST_SNAPBACK}>


Ok, I tried it myself and succeeded, I am getting good at this. Apparently the anti-slash problem is unrelated to the editor.

So I guess it is due to page_manager.php php as I removed all javascript before adding WYSIWYG. Hence, concluding it is the sql write command that is messing this up. However this is beyond me and could do with someone's help.

#20 scotthatton

  • Community Member
  • 37 posts
  • Real Name:Scott Hatton
  • Location:UK and France

Posted 07 March 2005, 10:24

Hi all,

Sorry to go a little off topic with this thread, but have you noticed this problem with this contribution, with regards to keeping/losing the session ID?

http://forums.oscommerce.com/index.php?showtopic=139684

Think I've found a fix, but could do with a confirmation.

Thanks,
Scott