Redirecting to Front page when clicking on place order in virtuemart - joomla

I'm using virtuemart version 1.1.9 and joomla version 1.5.14. My problem is that when i click on add to cart then it is taking me to the place order and continue shopping. After that whenever i'm clicking on place order button then it is redirecting me to the frontpage. The link which shows me in the place order button is:-www.mysite.com.books.html?page=checkout.index&ssl_redirect=1. I'm not using ssl in my website. Even i have changed the configuration file of virtuemart and also i checked my logged file and it is showing me PHP Warning: stristr() [function.stristr]: Empty delimiter in /home/kiranpra/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 566. I think that it is just a warning not an error. I'm using inbuilt joomla sef not any other kinds of 3rd party extensions. Any idea how to fix that?

There is something a little weird about the way that VirtueMart routes these requests.
The issue is a combination of VirtueMart's methods and your template which - if this is the same issue I've had in the past with a client's site - suppresses standard 'component' output on the frontpage.
I've no idea what template you are using, which template framework it is built on or which template provider built it, but you should go to the template manager and click through into your template's options and see if 'show component output on frontpage' is an option.
If so you should try it and see if that resolves the issue. Unfotunately it could mean you end up with other unwanted output when you navigate to your site's frontpage ordinarily.
I can't remember the specifics of how I resolved this in the end - probably with some code in the template to detect the frontpage (default page) together with the component being output, allowing the component output for virtuemart on the frontpage - but no other component.
Of course - you may be experiencing a totally different issue so your mileage may vary.

Related

Joomla - Virtuemart invoice/delivery note without content

I have a strange problem with invoice and delivery note. It displays only the name of company in top and nothing more in pdf. However, at print choice (in CMS) it displays whole the content.
Moreover, when I click on invoive or delivery note, it opens them as pdf in browser instead of download them. Is this a normal reaction?
I use joomla 2.5 and VM 2.6.8. Any idea why this happens?
I found the solution. I didn't have set the vmsafe folder for invoices.
I went to CMS - Virtuemart - configuration - configuration - (in tab) Templates
and I set in safe path: /home/username*/vmsafe
*the username of website

Magento checkout cart feature control

I have a site, 1.5 magento, and the cart functionality (and the customer account functionality) seem to be disabled. When i attempt to go to the url 'checkout/cart', just the homepage displays.
Ive checked all the usual suspects..including:
checked the url_rewrites table (there is one entry in their referencing checkout/cart...but goes from checkout/cart to checkout/cart, so dont see this is an issue, but did edit it just to rule it out)
enabling/disabling of the module itself, looking at both the etc/modules files and removing, and checking the module listing in system->config->advanced area.
trying to step through the code..try detect where the change over of pagedata occurs - struggling here.
looking for certain terms in the codebase...and database SQL file.
the htaccess file, looking for a rewrite
local/community modules..and any rewriting of the checkout
Im starting to think a hack is in place here to show the homepage when visiting checkout url. The url : www.mysite.co.uk/checkout/cart remains in the address bar, but i see homepage data.
Anyone know where else i can check...or easily locate the cause of this issue?
Many thanks
S
Did you look in backend under Configuration -> Sales -> Checkout ?
There is a field called "Enable One-Page Checkout" which has to be enabled. If you disable it, your store will just run fine but neither registered customers nor guests can check out anymore.
Turns out this was rewrites added to the rewrite table manually. Didnt find them at first.

Joomla 1.6 backend admin area blank

For some reason, when I log into my joomla 1.6 backend, it is now empty, displaying only a logout button. Any Ideas?
I just went through the same problem but on J!1.7.3. There may be many, many reasons but please check using just URL if you can see for example:
[YourDomainHere]/administrator/index.php?option=com_content or
[YourDomainHere]/administrator/index.php?option=com_modules
If content is listing and you're missing just Admin-menu and sub-navigation in back-end --> this means you messed-up with access levels and viewing access.
If you can't see content listing - ignore the rest of this post :-)
...with access levels and viewing access. To check that, try entering [YourDomainHere]/administrator/index.php?option=com_users&view=levels and enter each position in the list. Joomla backend navigation module usually has Access set to Special, so focus on this one. When enter Special - manager, author and super administrator should be ticked. If everything empty in any from the list - this is your issue :)
You need to add manager, author and super administrator to your Special access level. Obviously you can't see Save button, so you need to use database. [wrrr :) sounds scary?] Not a big deal, just go there using for example phpMyAdmin and find _viewlevels table. In there just edit Special and add [6,2,8] values to set up manager, author, super.....
Update database. Try to log-in one more time (close browser and clean cache before).
I hope if this wasn't helpful for you, will be for somebody else.
p.s. There may be a way of 'saving' changes in you joomla access levels with URL. Then you don't need to go to DB .. but I don't know if this is feasible at all :)
Check the rewrite of htaccess and the $mosConfig_absolute_path variable in config.php
Apparently, the Bluestork Template (admin template) has some security issues. In my case there were some missing files in the template folder /administrator/templates/bluestork/ that caused the administrator screen to appear blank. I've copied a clean version of the template in the bluestork folder and after that I was able to see the backend admin area.
I've removed the bluestork templates entirely for now, which seems to be the best option. Joomla installs 2.5.8, 2.5.6, 2.5.2, 1.7.0, 1.6.3 are affected. The Blustork Template is a target for hacks with old Joomla.
this happening becoz of admin user lost his permissions. see below article to fix this issue
http://www.codentalk.com/joomla-admin-showing-blank-page/

Virtuemart 2.0 and user register

I'm using Joomla 1.7.3 and Virtuemart 2.0, everything works except the registration of users, in previous virtuemart this worked by default, but now I can not register new users, some clue about the problem?
There are two things happening.
In VM 2.0 there is some XML missing that allows you to specify a link to a registration form - if you use the account maintenance option it gets a slightly different page (see this thread on the VirtueMart 2.0 forum). This is already fixed in the prerelease version 2.0.1b and hides some unwanted fields.
To link to the correct page you should use a Joomla! menu type of System Links -> External URL and set the Link field to:
/index.php?option=com_virtuemart&view=user&layout=editaddress
The "Please enter your name." means that the field is defined in VM2's configuration as Required. I believe the problem occurs because neither the Account Maintenance or the link I provided above give the user a chance to enter a user name. The work around is to point them to a standard Joomla! registration page and then when they checkout they can complete the rest of their details.
(In VM2 shoppers are standard Joomla! users so this is a perfectly acceptable way around it).
with the link you told me the problem is still happening, so I was to comment the line of user.php that making the validation in the method check()
if (trim($this->name) == '') {
$this->setError(JText::_('JLIB_DATABASE_ERROR_PLEASE_ENTER_YOUR_NAME'));
return false;
}
the value for this->name is empty, why??? with this lines comment, i can register and login on virtuemart....

virtuemart checkout page link

i have used virtuemart latest product module for displaying a product on my home page but now when i click on add to cart it doesn't redirect me to another page. Instead of redirecting to another page it shows the checkout form in content part of my index page....
Are you using sh404sef then please try to use the current latest version of both VM & sh404sef otherwise these compatibility issues frequently comes
Also if the above said not a good solutions then please check whether the URL shown in the address bar of the checkout page shows a get value say: &ssl_redirect=1 part. if so, then try to please disable the SSL, it may be not useful in the context as your may use the virtue-mart payment gateway to do all the stuff

Resources