Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hello

 

I have extra pages installed (AWESOME contribution, thanks!) - however, when including a form and trying to send it I get an error;

The requested URL /memememe/post was not found on this server.

 

I am not sure about the "Action" input on the form here in OSC (usually on my website I call a script page that would send the form data)

 

Apart from the "Extra Page" that I set up, if this page includes a form, what do I need to do in addition so the form could be sent?

 

THANKS A LOT

Posted

:mellow:

Looks like no one is setting up forms in extra pages ...?

 

 

 

Hello

 

I have extra pages installed (AWESOME contribution, thanks!) - however, when including a form and trying to send it I get an error;

The requested URL /memememe/post was not found on this server.

 

I am not sure about the "Action" input on the form here in OSC (usually on my website I call a script page that would send the form data)

 

Apart from the "Extra Page" that I set up, if this page includes a form, what do I need to do in addition so the form could be sent?

 

THANKS A LOT

Posted

Hello George

 

Thank you for your reply.

 

I just made up a quick sample page on ... http://wemseo.com/demoplain/extra_info_pages.php?pages_id=2

Please go to the very far bottom left "InformationS" box and click on "Contact Information". This will bring up the "Extra Page" created via FCK-editor within the EP contribution (add-on)

 

Thank you very much

 

Norbert

 

 

 

I'm not familiar with "extra pages" but can you post the code of such a site that includes the form?
Posted

Hi Norbert.

 

Your form is a plain html form and has nothing to do with the "regular" forms used in osc.

 

If you look at contact_us.php, yu will see tat there are 2 places where the form is getting created:(1) the php part that ends with a tep mail function. This is the "real" action (2) the html part that the user see where the ENTRY_XY is "collected" to be used in the php part.

 

As far I can see the code of your form is

<form name="testform" action="send" method="post">
<p> test input email       <input type="text" name="email" value="your email here" /></p>
<p> test input name       <input type="text" name="name" value="your name here" />             title:  <select name="title">
<option value="MR">MR</option>
<option value="MRS">MRS</option>
<option value="MS">MS</option>
</select></p>
<p>                            <input type="button" name="send" value="Send" /></p>
</form></td>

 

There is no "action" specified, the form is doing nothing. You need a script that says what the form has to do

 

I suggest you to read following articles about doing forms in html: this one and that one

 

Thats the direction you have to work on

Posted

Hi George

 

Thank you so much for your time and reply on this issue.

 

Ehmm... I know about forms in general, though I'd set up several of them (some quite extensive ones) on my main website ... please have a look here and go to "contact us" to see the forms.

 

The thing is. in OSC - I am totally lost.

 

I know the form you'd seen has no "ACTION", simply because I don;t know how to set it up. The form you see there was created by using the "EP - Extra Pages" add-on contribution and its inbuilt FCK-Editor.

 

What is confusing - for a start - is that at the beginning you'll be asked to choose either an "Internal" or "External" link. Well, I tried both. For the "internal" I have no idea where/what it will be linked with (there is no chance to choose neither... like an internal pages list) and for the "external" I tried to follow the form structure I have on my main website (keep in mind that this site is NOT OSC based.

 

Having done this, I get a fatal error saying that I would not be permitted to access this area on the server... hmmm??? No idea, why is that. the forms on my non-OSC website all work perfectly.

 

In OSC there is a contact_us.php for the normal (basic) contact us page. Thinking that EP would follow this principle I was proven wrong. EP doesn't (apparently) produce such files but rather store everything in a SQL db. Hence, there is nothing for me that I could change some coding on such a page as it simple doesn't exist.

 

I must say, I am a bit confused but get questioned (with reasons) from my client why he can create a form in this "Extra Pages" add-on but the form doesn;t work... And I am silent, because I simple can't find an answer...

 

I know this is quite a bit, but maybe we could get something doing about this as I am sure others may have the same problem?

 

Cheers

 

Norbert

Posted

Well, as I said, I'm not familiar with fck editor or extra pages, but, I see 2 options here:

 

1) Go to the html code and make the changes, as described in the links above

2) Try to use the regular osc contact_us form, you can add as many fields as you like (read here) and I think there is also a conribution about adding radio buttons and whatever

Posted

Hello

 

Thanks for your reply again. Guess option 2 is out of question as I want to create EXTRA forms - apart from the contact_us form. It's just a pity that the contribution "EP" doesn't allow for that.

 

Well, it does, as said the fck editor allows you to create a form, add text fields, radio buttons, check boxes, even drop down selection boxes, ... but what is this all worth if it doesn;t add the code to it that would actually "SEND" the form, too!?! And worse, there is no hint on how to do this manually in OSC.

 

So... is there a chance for me to take this "EDITOR" buttons off the FCK editor, because clients who use this FCK editor and cannot get the form to be sent - get upset about it! So it's better for me to not even have this option included in the FCK editor. It's a bit of a joke!

 

I really appreciate your assistance here very much, said so, even that you are not familiar with this. But maybe you can refer me to the creator of the FCK editor? I tried to make her/him out but no luck neither.

 

... :)

 

Have a great day and HEAPS OF THANKS to all your help on this issue

 

Norbert

 

 

 

Well, as I said, I'm not familiar with fck editor or extra pages, but, I see 2 options here:

 

1) Go to the html code and make the changes, as described in the links above

2) Try to use the regular osc contact_us form, you can add as many fields as you like (read here) and I think there is also a conribution about adding radio buttons and whatever

Posted

Did you try to post here ?

 

Anyway, I think that after creating the "no action" form with FCK, you can go to the html code of the page and edit it as simple html and connect it to a script or action. Thats possible all the tme, doesn't matter how and where you made the form

 

You could also try "define content" contribution and use the tinymce editor, I have this installed and I think the support here is good. I'll try to make a form with this and tell you how it works

Posted

Hello George

 

No, I didn't try to post at Spooks' FCK-Topic. However, reading through his first two comments I have to say that I looked into my html_output.php and there is absolutely NO SIGN OF "tep_draw_fckeditor".

 

The FCK editor was not installed by me so I have absolutely no idea neither on it. All I can say it works so far with creating just normal pages or editing the product descriptions, etc. So I am not sure if there is an installation error (because of the missing entry in the html_output.php or not)

 

But please, yes , let me know how you go about with your experiement... ;-)

 

Thanks a lot again, have a great day.

 

Norbert

 

 

 

Did you try to post here ?

 

Anyway, I think that after creating the "no action" form with FCK, you can go to the html code of the page and edit it as simple html and connect it to a script or action. Thats possible all the tme, doesn't matter how and where you made the form

 

You could also try "define content" contribution and use the tinymce editor, I have this installed and I think the support here is good. I'll try to make a form with this and tell you how it works

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.

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...