Is permission of typo3temp affect in fetching page of newsletter using direct mail? - typo3

When i am trying to fetch pages under direct mail folder in TYPO3 backend, It gives following errors
The plain text content could not be fetched.
The HTML content could not be fetched.

This is an error that most of the time shows up if you are missing your templates include static section.
Login to your TYPO3 Backend with administrator access. Next goto your, for example, root template. Select the "Includes"-tab and make sure the next "Include Static" are included:
Direct Mail Content Boundaries (direct_mail)
Direct Mail Plaintext (direct_mail)
Hope this helps you out.

Try adding your server ip and domain to the /etc/hosts file if you are linux...if you are in windows to \System32\drivers\etc.
A deitalled description can be found here:
http://devbackyard.blogspot.pt/2012/10/direct-mail-typo3-content-could-not-be.html

Related

Apache2: Redirect from a custom link to a html file

That's quite a simple question, but I would like to create a redirection for my website using Apache2 and the virtual hosts.
I want it to happen when a user gets on this link : https://somewebsite.com/test
And this link should redirect to an html file in my website directory (for example test.html) with the link still on https://somewebsite.com/test
I think I should use mod_rewrite or the aliases but I don't know how to use them.
Thanks for your time !

TYPO3 No TypoScript template found - custom page

We're running TYPO3 9.5 with correctly set up Site Configuration. The main domain has multiple subdomains which have their own Site Configuration.
domain.com
sub1.domain.com
sub2.domain.com
sub3.domain.com
All these urls point to a different Site Configuration, which works fine. But when a user types sup1.domain.com instead of sub1.domain.com, "No TypoScript template found!" is shown. Within the Site Configuration "Error Handling", "Show content from page" is set up for error 503.
The configured error page is not showing, but the default "No TypoScript template found!". How could we show an actual TYPO3 page when a subdomain is entered wrong?
The 404 page works fine, but only with segments after the actual domain, eg. sub1.domain.com/does-not-exist shows the 404 page, as configured.
As already noted by Julian Hofman you should redirect all 'non-existend' subdomains to your main (sub) domain.
Sure, in this situation you cannot handle typos, but this solution is very fast and error-safe. TYPO3 can only handle "known" (sub)domains.
Redirecting all unknown subdomains can be done via .htaccess (on Apache) or your domain hosting admin-panel .
HTH Henrik

Typo3 - powermail - no emails are sent and no confirmation page

I have the Typo3 powermail extension v2.0.6 and a form on this site: http://www.fg-energysolutions.de/kontakt.html
When sending the form, nothing happens at all. Neither Emails are sent to the receiver nor a confirmation to the sender. Also, no confirmation page is shown but it just loads the site with the form again.
I tried re-installing the powermail extension and re-created the form, but no effect. I also made sure that the PHP mail() function works. Thanks for any suggestions.
I'd check first, if the submitted fields are stored to the configured storage pid. If there aren't any entries in module powermail, something is wrong with storing to the database.
Did you install powermail via the extension mananger or programmatically in localconf.php?
If you did programmatically, maybe you forgot to make the database updates in extension manager which creates the needed tables.
If there are entries, there's a problem with sending mails.
Try to send a testmail with TYPO3s Install Tool, maybe php mail works fine, but TYPO3 isn't allowed to do so (permissions?).
Maybe the typoscript configuration disables sending to sender like this?
plugin.tx_powermail.settings.setup.sender.enable = 0 #change to 1 to enable!
Same for receiver.
I had the same issue. I created the contact form on an invisible copy of the actual contact page for testing purposes and the default "action" parameter was set to the URL of the original contact page, not the "index.php?id=xx" URL of the copy. Manually changing the "action" parameter to the URL of the correct (copy) page solved the problem for me.

Editing Files in My account Magento CE

Hello I am using Magento CE 1.7.2 I am trying to edit the customers "My Account" Pages
I cannot find what file to edit to change the layout and design of the following:
My account:
Account Dash Board (got this to work editing customer/account/dashboard.phtml)
Account Information (Tried customer/account/dashboard/info.phtml Didn't work)
Address Book (Tried customer/account/dashboard/address.phtml Didn't Work)
My Orders (No idea)
Newsletter Subscriptions (Tried customer/account/dashboard/newsletter.phtml Didn't Work)
What files do I edit? Please show the directory.... Thanks!
Telling you the exact path would be like "giving you a fish".
Instead, I will "teach you how to fish".
Login to your admin panel in Magento.
Head to System > Configuration. At the bottom of your left menu you will find a Developper link.
Head to this link, then in the upper left of the given page, select a webiste in the dropbox under Current Configuration Scope.
Open the Debug section and set Template Path Hints to Yes.
Reload your customer page in frontend. Tada! You can now see where is every single files you have to edit to change anything in your Magento.

How do I get sun webserver to redirect from

I have Sun webserver iws6 (iplanet 6) proxying my bea cluster.
My cluster is under /portal/yadda.
I want anyone who goes to
http://the.domain.com/
to be quickly redirected to
http://the.domain.com/portal/
I have and index.html that does a post and redirect, but the user sometimes sees it.
Does anyone have a better way?
Aaron
I have tried the 3 replies below. None of them worked for me. Back to the drawing board.
A
Does this help?
http://docs.sun.com/source/816-5691-10/essearch.htm#25618
To map a URL, perform the following steps:
Open the Class Manager and select the server instance from the drop-down list.
Choose the Content Mgmt tab.
Click the Additional Document Directories link.
The web server displays the Additional Document Directories page.
(Optional) Add another directory by entering one of the following.
URL prefix.
For example: plans.
Absolute physical path of the directory you want the URL mapped to.
For example:
C:/iPlanet/Servers/docs/marketing/plans
Click OK.
Click Apply.
Edit one of the current additional directories listed by selecting one of the following:
Edit
Remove
If editing, select edit next to the listed directory you wish to change.
Enter a new prefix using ASCII format.
(Optional) Select a style in the Apply Style drop-down list if you want to apply a style to the directory:
For more information about styles, see Applying Configuration Styles.
Click OK to add the new document directory.
Click Apply.
Choose Apply Changes to hard start /restart your server.
You could also just add the below line in the .htaccess file
Redirect permanent /oldpage.html http://www.example.com/newpage.html
You should be able to configure the webserver to do a header redirect (301 or 302 depending on your situation) so it redirects without ever loading an HTML page. This can be done in PHP as well:
<?php
header("Location: http://www.example.com/"); /* Redirect browser */
/* Make sure that code below does not get executed when we redirect. */
exit;
?>
If you don't want to modify your server configuration.
If your server uses the .htaccess file, insert a line similar to the following:
Redirect 301 /oldpage.html http://www.example.com/newpage.html
-Adam