News:

Looking for documentation? Take a look on our wiki

Main Menu

Problem in padding.php popup > Adding extra / to the link

Started by kittmaster, May 10, 2016, 17:36:48 PM

Previous topic - Next topic

kittmaster

I've traced a problem back to link generation. There seems to be an extra slash put into the link causing errors when clicked. I can't see any issues but appears to be with the class "continue_link".

I've attached images to show what is happening.

Does anyone know where the extra slash is being created from or where to look at the function that deals with this?

Thanks.

kittmaster

I actually just traced it back to helpers/vmview.php.

It has an extra slash there, I removed it and it fixes the link.....not sure what else will break as a result.

Can helpers be overridden?

Chris

kittmaster


GJC Web Design

helpers can't be over ridden

as others don't see this problem can u trace further back?

an ove ride in padding.php otherwise

try $the_link = str_replace('//index','/index', $the_link);
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

kittmaster

I found the solution now, I'm still on 3.0.10 and the latest is 3.0.14. The dev already fixed it, so its my own issue it seems. I have a lot of overrides in place and hate to update because I've hardcoded changes in the search routine which is not implemented in the current version.

So ultimately I think I'm ok, but updating is something I'll have to do when I have more time going forward.

Thanks for the possible solution.

Chris