Hy,
Magento version 1.9.0.1
I have made a new cms page and inserted this code initially {{block type='core/template' name='contactForm' form_action='/contacts/index/post' template='contacts/mycontactform.phtml'}} . Created another form called mycontactform.phtml in the same folder as the form.phtml. After submit i get this error: `The requested URL /contacts/index/post was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.`
Then i have tried with the standard form {{block type='core/template' name='contactForm' form_action='/contacts/index/post' template='contacts/form.phtml'}} . I get same error.
I have to mention that Contact us page it's working with form.phtml.
If anyone knows, please help.
Thank you,
Try doble quotes instead, this works for me:
{{block type="core/template" name="contactForm" form_action="/contacts/index/post" template="contacts/form.phtml"}}
Related
I'm trying to find the URL directly to categories - I use Megamenu but I've tried everything I can find but keep getting 404 errors
For this example let's assume im trying to get the link to 'Furniture' category which contains active products, the direct link to the product works fine using domain.com/my-main-product.html
I've tried
http://example.com/furniture
http://example.com/catalog/furniture
http://example.com/catalog/category/view/id/143
Can anyone recommend how I can find them please - my layout currently is:
Default Category
Furniture
Test Category
All I get is 'Page doesnt exist' (404)
Any help would be greatly appreciated
Please check the following path.
{select category}--> search engine optimization-->url key.
You can see the URL there. When you visit you should append .html to the URL. For example, if the value is furniture your URL should be like this
http://example.com/furniture.html
or
http://example.com/index.php/furniture.html (if mod_rewrite is not enabled)
I have such problem: If page on my sites doesn't exists it always does redirect at main page, but I want to display 404 error.
Example: example.com/sdasadsasad - I see main page. How I can fix it? I tried add in localconfiguration
'pageNotFound_handling' = '/';
'pageNotFound_handling_statheader' = 'HTTP/1.1 404 Not Found';
but it doesn't help.
TYPO3 7.6.11
Look in the description of the install tool for the settings. There is described what setting doing what.
So an String in pageNotFound_handling will fetch the page entered and display this, true or 1 will display an error message.
I recommand to create an error page like example.com/404.html within TYPO3 and enter 404.html in pageNotFound_handling so you can customize the error.
If you want only to shown an error enter trueor 1 in the pageNotFound_handling setting.
We were experiencing the same problem. We have curl enabled ($GLOBALS['TYPO3_CONF_VARS']['SYS']['curlUse'] = 1). Due to our configuration, curl was not able to fetch the error page because the SSL certificate could not be verified.
Be careful, the following idea is ugly:
You might find out more about the problem by editing TypoScriptFrontendController.php: Find the function pageErrorHandler (about line 2000 -- who writes such long files?!), find the call to GernalUtility::getUrl() and add as fourth parameter a new array variable. var_dump it instead of the call to HttpUtility::redirect. You should get the curl error if there is one.
yos-social-objc-master
I have also the problem with yos-social-objc-master project i found in github. after login with yahoo credential. I always got a page and a code xxxx with below lines
"To complete sharing of yahoo! info with xxxx, enter code xxxx into xxxx"
So, I am not getting that where I should enter this code? And how will it redirect to my application.
So that I can get contact list. I have done R&D on it. but didnt get any appropriate solution. Please help me out,how can i resolve this issue.
I have found the solution though with a little overheads.
Steps are: 1> Create a PHP script in you own server (say named, YRedirect.php).
2> Pest the following code in it-
<?php
$query = $_SERVER['QUERY_STRING'];
header("Location: YOUR_APP_ID_OR_BUNDLE_ID://oauth-response?" . $query);
?>
3> Add an URL Scheme in your info.plist file with the YOUR_APP_ID_OR_BUNDLE_ID.
That's it and you are DONE with the authentication problem.
And then use YQL to fetch contacts.
I'm trying to include a simple Like button on my page using HTML 5. I'm including the Javascript SDK on my page like mentioned in the docs but I get a 404 error on the URL. "//connect.facebook.net/en_US/all.js"
Here's my code : http://snipt.org/ujEg8
Here's the channel file code : http://snipt.org/ujEh4
I don't understand whats going on. Please help.
Thanks
smaira
You most likely just need to add the right protocal before the // call, for example:
http://connect.facebook.net/en_US/all.js
See here for more info on the real issue: Is it valid to replace http:// with // in a <script src="http://...">?
I am using "webtechnick CakePHP-Facebook-Plugin" for my site for login and authentication. My site is in cakephp. I have placed the plugin in proper folder as guided in the video. But when I am running my site I am getting the error:
Fatal error: Call to undefined method Facebook::login() in
/home/depasser/public_html/var/www/html/fb_app/app/views/elements/login.ctp on line 12
I have tried a lot to solve this issue but haven't succeeded. Can anyone guide me how I can solve this issue?
Is the helper in your controller for this view, if the 'Facebook.Facebook' helper is not there it wont work.