Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Contribution Issue


Hugo RSF

Recommended Posts

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!

Link to comment
Share on other sites

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="\"/OSC_M2/images/account_personal.gif\"/" alt="\"\""/>

 

I will look at it....

BR

Joacim

Link to comment
Share on other sites

I think it was solved and I have uploaded the file to:

http://www.oscommerce.com/community/contributions,2021

 

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

Link to comment
Share on other sites

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

 

 

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

Link to comment
Share on other sites

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

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

Link to comment
Share on other sites

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

 

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

 

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

Link to comment
Share on other sites

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

 

 

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

Link to comment
Share on other sites

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

 

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!?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

 

Any body tried this?

 

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.

Link to comment
Share on other sites

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://www.oscommerce.com/forums/index.php?showtopic=139684

 

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

 

Thanks,

Scott

Link to comment
Share on other sites

Is it really so that no one knows what the problem is and can fix it? I am seriously getting anxious to get this working as I cannot enter information, or at least change the information on these pages as it gets screwed up with the extra slashes added. Please. someone tell me what to do. Will do anything to get this fixed!!!! So if anyone tells me to uninstall, reinstall, move, delete or have to do something please do not hesitate.. :-)

 

Thank you!

 

Passage

Link to comment
Share on other sites

:'(

Ready for a biggun??

Installed this contribution, then uninstalled due to errors. Still didnt' get rid of the errors. Here they are, any ideas?

 

Warning: Cannot modify header information - headers already sent by (output started at /home/nownthen/public_html/includes/filenames.php:131) in /home/nownthen/public_html/includes/functions/general.php on line 1174

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/nownthen/public_html/includes/filenames.php:131) in /home/nownthen/public_html/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/nownthen/public_html/includes/filenames.php:131) in /home/nownthen/public_html/includes/functions/sessions.php on line 67

 

Thanks for anyone's input!

Jim

Link to comment
Share on other sites

  • 2 weeks later...
Is it really so that no one knows what the problem is and can fix it? I am seriously getting anxious to get this working as I cannot enter information, or at least change the information on these pages as it gets screwed up with the extra slashes added. Please. someone tell me what to do. Will do anything to get this fixed!!!! So if anyone tells me to uninstall, reinstall, move, delete or have to do something please do not hesitate.. :-)

 

Thank you!

 

Passage

 

What I do as a work around for this problem is I DON'T use the WYSIWYG editor that came with this contrib. I do all my html editing with an external html editor and copy and paste my code into the page manager box.

 

If I wanted to add an internal link I would format it like this: Don't use any " " if it's an internal link. I'm not sure how to add external links yet :huh:

<a href=/catalog/contact_us.php>contact us</a>

 

If I wanted to add an image It would look like this: same rule for the " "

<img src=/catalog/images/oscommerce.gif>

 

If I need to edit the page I copy and paste the new code over the old code in page manager... I never edit directly inside page manager.

 

Also if you need to add special characters such as "Quotation marks" or an 'Apostrophe' I use HTMLSpecial Characters codes to cut down on the extra \ problem. Here is a useful link HTMLSpecial Characters

 

This work around seems to work ok for me :thumbsup:

Link to comment
Share on other sites

  • 3 weeks later...

I'm ONLY using the TEXT BOX to enter some new or links.

 

I've tried with both 'page_manager.php' files placed on March 23rd 2005 in the corresponding contributions section (Authors: Jocke4u and Benan Tumkaya). There was no remarkeable change at all - the backslashes were still there. Thus I thougth that this scripts are not working ... :angry:

 

But after saving the text again it worked! :blush: Thank you!

Edited by juerg
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...