Error in template yourshop

Ecommerce design Joomla template to start your online business with VirtueMart and additional eshop features.
GK User
Mon Nov 28, 2011 12:32 pm
I have installed the Quickstart gk_yourshop_quickstart_J!15.zip, and when I go to the site, it appears with many errors.

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\Farmacia\modules\mod_virtuemart_latestprod\mod_virtuemart_latestprod.php on line 83

Warning: stristr() [function.stristr]: Empty delimiter in C:\xampp\htdocs\Farmacia\administrator\components\com_virtuemart\classes\ps_session.php on line 599

And in BackOffice the Virtuemart is unconfigured.

Why??

Thanks
User avatar
Fresh Boarder

GK User
Wed Nov 30, 2011 1:00 pm
Anyone?? Please, I need to use this template, but it is with too many errors..

Thanks
User avatar
Fresh Boarder

GK User
Wed Nov 30, 2011 1:33 pm
"Deprecated" means that this function will be removed in newer version of PHP, but for the moment it is still working. In Virtuemart v2 such functions will be removed as per authors statement.

If you are using this template in your localhost set your php.ini error reporting as below

Code: Select all
error_reporting = E_ALL & ~E_DEPRECATED | ~E_NOTICE


For the second error you need to edit file "virtuemart.cfg.php" which is located in "administrator/components/com_virtuemart/"
For following url paths
Code: Select all
// these path and url definitions here are based on the Joomla! Configuration
define( 'URL', $mosConfig_live_site.$app );
define( 'SECUREURL', $mosConfig_live_site.$app );
User avatar
Platinum Boarder

GK User
Wed Nov 30, 2011 4:00 pm
Hi,

Thanks for your help, but I changed the php.ini file and continues with the same error, and I installed on another server and I got the same error.

Thanks
User avatar
Fresh Boarder

GK User
Thu Dec 01, 2011 1:18 pm
Can you please post a live link to your website please.

Also you can turn off error reporting in php.ini, find and change below to =off
Code: Select all
display_errors = Off

As well as in joomla admin > Global Configurations > Server > Error Reporting.

If you are still having problems with second error let us know.

See you around.
User avatar
Platinum Boarder

GK User
Fri Jan 13, 2012 2:15 pm
Hi.

Working with Joomla 1.5, Virtuemart 1.1.9 and Yourshop template.

By posting mod_virtuemart_lastproduct module gives me the following error and does not know how I can fix it.

I need help

( ! ) Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\modules\mod_virtuemart_latestprod\mod_virtuemart_latestprod.php on line 42
Call Stack
# Time Memory Function Location
1 0.0007 346672 {main}( ) ..\index.php:0
2 0.2360 12838720 JSite->render( ) ..\index.php:79
3 0.2370 12839264 JDocumentHTML->render( ) ..\application.php:168
4 0.2772 14065296 JDocumentHTML->_parseTemplate( ) ..\html.php:249
5 0.2788 14112128 JDocumentHTML->getBuffer( ) ..\html.php:386
6 0.2788 14112496 JDocumentRendererModules->render( ) ..\html.php:190
7 0.2865 14490704 JDocumentRendererModule->render( ) ..\modules.php:41
8 0.2868 14494328 JModuleHelper->render
User avatar
Junior Boarder

GK User
Sat Jan 14, 2012 9:05 am
Find File: \modules\mod_virtuemart_latestprod\mod_virtuemart_latestprod.php
Find Line: 42
Which is below
Code: Select all
$db =& new ps_DB;

Replace it with below or simply delete "&"
Code: Select all
$db =new ps_DB;


There are other possible reasons you might be having this error, simply try above if it doesn't work reply back.

See you around...
User avatar
Platinum Boarder

GK User
Sun Jan 15, 2012 1:37 pm
Thanks!.
I'll try and tell you tomorrow if I worked
User avatar
Junior Boarder

GK User
Mon Jan 16, 2012 10:00 am
Hi. Function properly. Thank you very much for the help.
User avatar
Junior Boarder

GK User
Mon Jan 16, 2012 6:53 pm
No problem at all.

See you around...
User avatar
Platinum Boarder


cron