Hugo RSF Posted February 19, 2005 Share Posted February 19, 2005 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! Quote Link to comment Share on other sites More sharing options...
Hugo RSF Posted February 20, 2005 Author Share Posted February 20, 2005 Any help, please!!! :'( Quote Link to comment Share on other sites More sharing options...
jocke4u Posted February 23, 2005 Share Posted February 23, 2005 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.... Quote BR Joacim Link to comment Share on other sites More sharing options...
jocke4u Posted February 23, 2005 Share Posted February 23, 2005 I think it was solved and I have uploaded the file to: http://www.oscommerce.com/community/contributions,2021 Quote BR Joacim Link to comment Share on other sites More sharing options...
benthompson Posted February 23, 2005 Share Posted February 23, 2005 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 Quote Link to comment Share on other sites More sharing options...
kwe1009 Posted February 24, 2005 Share Posted February 24, 2005 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 Quote Link to comment Share on other sites More sharing options...
butterflyguy Posted February 25, 2005 Share Posted February 25, 2005 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 Quote My Contribution Manufacturers Box To Anything Box Link to comment Share on other sites More sharing options...
benthompson Posted February 25, 2005 Share Posted February 25, 2005 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 Quote Link to comment Share on other sites More sharing options...
Sincraft Posted February 25, 2005 Share Posted February 25, 2005 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. Quote Link to comment Share on other sites More sharing options...
Sincraft Posted February 25, 2005 Share Posted February 25, 2005 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 Quote Link to comment Share on other sites More sharing options...
jocke4u Posted February 25, 2005 Share Posted February 25, 2005 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 Quote BR Joacim Link to comment Share on other sites More sharing options...
Hugo RSF Posted February 25, 2005 Author Share Posted February 25, 2005 Here do u find version 3_2.4??? :blink: Quote Link to comment Share on other sites More sharing options...
butterflyguy Posted February 25, 2005 Share Posted February 25, 2005 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 Quote My Contribution Manufacturers Box To Anything Box Link to comment Share on other sites More sharing options...
Hugo RSF Posted March 1, 2005 Author Share Posted March 1, 2005 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!? Quote Link to comment Share on other sites More sharing options...
Zickarena Posted March 1, 2005 Share Posted March 1, 2005 (edited) So anything above 3_2.4 is not working correctly or is 4 working? Edited March 1, 2005 by Zickarena Quote Link to comment Share on other sites More sharing options...
Hugo RSF Posted March 2, 2005 Author Share Posted March 2, 2005 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. Quote Link to comment Share on other sites More sharing options...
Guest Posted March 6, 2005 Share Posted March 6, 2005 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 Quote Link to comment Share on other sites More sharing options...
devine952 Posted March 6, 2005 Share Posted March 6, 2005 Wondering if it is possible to use HTML WYSIWYG Editor (Contrib 1347) instead of the editor provided with "Extra Pages". Any body tried this? Quote Link to comment Share on other sites More sharing options...
devine952 Posted March 6, 2005 Share Posted March 6, 2005 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. Quote Link to comment Share on other sites More sharing options...
scotthatton Posted March 7, 2005 Share Posted March 7, 2005 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted March 7, 2005 Share Posted March 7, 2005 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 Quote Link to comment Share on other sites More sharing options...
WVSailor Posted March 12, 2005 Share Posted March 12, 2005 :'( 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 Quote Link to comment Share on other sites More sharing options...
ifccnb Posted March 22, 2005 Share Posted March 22, 2005 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 <{POST_SNAPBACK}> 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: Quote Link to comment Share on other sites More sharing options...
Guest Posted April 6, 2005 Share Posted April 6, 2005 (edited) 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 April 6, 2005 by juerg Quote Link to comment Share on other sites More sharing options...
bombola Posted April 17, 2005 Share Posted April 17, 2005 But after saving the text again it worked! :blush: Thank you! <{POST_SNAPBACK}> What do you mean "saving the text again"... I can?t get it to work with pictures and links. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.