Support

Admin Tools

#10030 Virtuemart problems

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Monday, 03 October 2011 05:52 CDT

user44935
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? No
Have I searched the forum before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 1.5.23
PHP version: 5.2.9
MySQL version: 5.0.45
Host: (optional, but it helps us help you)
Admin Tools version: Admin Tools Professionnel 2.1.6


Description of my issue:

I realized that since I used Admin Tools, now every orders paid by Paypal in Virtuemart still be on "Pending" Status.
I don't get anymore automatic notification when the order was paid using Paypal method.

Any help will be appreciate.
Thank in advance.

Michel A.

nicholas
Akeeba Staff
Manager
Hello Michel,

Go to Components, Admin Tools, .htaccess Maker and expand the Server Protection tab. In the "Allow direct access, including .php files, to these directories" append:
administrator/components/com_virtuemart
and click on Save and Create .htaccess. This should do the trick.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user44935
Ok thank you very much Mr Nicholas.

nicholas
Akeeba Staff
Manager
You're welcome!

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user44935
Hello Mr Nicholas,

I tried what you said but all my customers orders paid by Paypal still on "Pending" Status(EVEN IF THE ORDER IS PAID, THE Status IS "Pending" ):
Go to Components, Admin Tools, .htaccess Maker and expand the Server Protection tab. In the "Allow direct access, including .php files, to these directories" append: administrator/components/com_virtuemart

I have also tried this(in In the "Allow direct access, including .php files, to these directories") :
administrator/components/com_virtuemart
components/com_virtuemart

BUT I HAVE THE SAME RESULT, NOTHING CHANGE.

I have also add to Server Protection tab in "Allow direct access to these files":

components/com_virtuemart/notify_preorder.php
components/com_virtuemart/notify.php
administrator/components/com_virtuemart/notify.php

But nothing change.

Thank you in advance.

nicholas
Akeeba Staff
Manager
Did you use the "Save and create .htaccess" button after making those changes? In all similar cases, we just added an exception for the PHP files in administrator/components/com_virtumart and everything worked. In fact, looking at VirtueMart's code, I can't see why this wouldn't work. So, the only thing I can think of is that the .htaccess isn't applied.

Important: If your site is hosted on GoDaddy you will have to wait 10-30 minutes from the time you click on "Save and apply .htaccess" up to the point that these changes become effective. This is a known issue with GoDaddy's non-standard server setup.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user44935
Yes I click on "Save and create .htaccess" button after making these changes".

When the customer paid his order by Paypal, I'm notify that I get a payment from this customer but the order still on "Pending" Status.

But I will wait for one day to see if everything will be ok.

nicholas
Akeeba Staff
Manager
Also check your server access log to see if there are requests to VirtueMart's notification PHP file and if these are blocked. If they are blocked with a 403 error, we have to adjust the .htaccess file. If not, then the problem is elsewhere, e.g. on VirtueMart's setup.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user44935
I checked in my server access log and see something like:

n=com_virtuemart&Itemid=53&category_id=25&flypage=flypage.tpl&lang=it&limitstart=0&page=shop.product_details&product_id=578 HTTP/1.1" 200 5 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; Tablet PC 2.0; .NET4.0C; BOIE9;FRFR)" www.sport-products.ch
72.12.98.187 - - [02/Oct/2011:02:54:09 +0200] "GET /components/com_virtuemart/shop_image/product/Ultimate_Nutriti_4b8575bd93950.jpg

I have a php.ini in my joomla folder, did you think that can blok something?

Also in Joomla Global Configuration, I changed the "Path to Log folder" and "Path to Temp-folder" (Because RSFirewall! team said that it is moore secure to change these folder and point them out to html folder)

I will appreciate any advice regarding what I said.

nicholas
Akeeba Staff
Manager
What you pasted is access to the VirtuMart component (hence the index.php&option=com_virtuemart part of the URL) which resulted in status code 200 (no error). It has nothing to do with the problem at hand. You should look for access to administrator/components/com_virtuemart/(some notification file).php with a status code of 403. Everything else you mentioned in your post has nothing to do with the missing notification issue of VirtueMart.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!