Feed Error : XML formating Error XML tag mismatch.
Adding to cart on PHP7 throws notice error
Notice: Only variables should be passed by reference in commerce_cart_product_add() (line 1344 of /home/icam/public_html/sites/all/modules/commerce/modules/cart/commerce_cart.module).
when trying to add 2 items to the cart it shows the above warnings.
Now add
$tmp_line_item = clone($line_item);
drupal_alter(‘commerce_cart_product_comparison_properties’, $comparison_properties,
$tmp_line_item);
to line 1344 by commenting the line
(public_html/sites/all/modules/commerce/modules/cart/commerce_cart.module )
drupal_alter(‘commerce_cart_product_comparison_properties’, $comparison_properties,
clone($line_item));
Commerce Paypal Payment Methods.
Go to https://www.drupal.org/project/paypal_payment and download the module for paypal.
Enable paypal,PayPal WPP and PayPal WPS.And save configurations.
After this check if Payment Method and Payment UI is enabled if not enable it and save configuration. If they are not enabled we cant get the Payment drop down for next step.
Now go to Store> Configuration > Payment method
go to ->Enable payment method: PayPal WPS -click edit
Enter your Paypal email address
live transaction
Log notifications with the full IPN during validation and processing (used for debugging).
tick check box -Show a message on the checkout form when PayPal WPS is selected telling the customer to “Continue with checkout
to complete payment via PayPal.”
and then save
Drupal Admin Menu Installation
Opencart:Resource Limit Is Reached 508 Error.
Resource Limit Is Reached
The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.
I received this error in open cart site. The hosting providers suggested to check with htacess files, and script issues and they suggested to check the script causing this issue.Some MySQL looping is occurring.


email verify
<!DOCTYPE html>
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Check Email Address</title>
function checkEmail(inputvalue){
var pattern=/^([a-zA-Z0-9_.-])+@([a-zA-Z0-9_.-])+.([a-zA-Z])+([a-zA-Z])+/;
if(pattern.test(inputvalue)){
alert(“true”);
}else{
alert(“false”);
}
}
</head><body>
<form name="signupform">
Input your email: <input name="email" type="text" class="inputs" id="email_address" value="any" size="35" maxlength="255">
<input name="summit" type="submit" value="Check" onClick="checkEmail(document.signupform.email.value)">
</form>
</body>
</html>
Seo Basics
SEO is the process of making your website and content consumable both for your audience and the search engines. It is estimated that close to 75% of web-based traffic is delivered to sites via search engines like Google and Bing. This process also improves your site structure, usability, accessibility, and user-targeted information pages.
URL redirection using .htaccess
Step 1 :Search for .htaccess file on the server.(Cpanel)
Step 2: Check hidden files (under settings) to show all hidden files.
Step 3: If No .htaccess found,
- Create a htaccess.txt file in local machine (without “.” – as this may prevent upload using cpanel) ,
- Upload using cpanel, and
- then rename htaccess.txt to .htaccess
Step 4: Copy the following text to direct all calls from
from phoenixtravelsautralia.com.au ==>> www.phoenixtravelsaustralia.com.au
#Force www:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^phoenixtravelaustralia.com.au [NC]
RewriteRule ^(.*)$ http://www.phoenixtravelaustralia.com.au/$1 [L,R=301,NC]
OR do the following
Step 5:
# If your site can be accessed both with and without the ‘www.’ prefix, you
# can use one of the following settings to redirect users to your preferred
# URL, either WITH or WITHOUT the ‘www.’ prefix. Choose ONLY one option:
# To redirect all users to access the site WITH the ‘www.’ prefix,
# (http://example.com/foo will be redirected to http://www.example.com/foo)
# uncomment the following:
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^ http%{ENV:protossl}://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
helping link:
http://www.inmotionhosting.com/support/website/htaccess/force-www-htaccess

