JM Mesolite doesn’t work !
I have had several errors when trying to get to our temporary site :
Notice: Uninitialized string offset: 0 in /home/sininen/www/footedpaj/app/code/local/JoomlArt/JmSlideshow/Block/List.php on line 58
Trace:
#0 /home/sininen/www/footedpaj/app/code/local/JoomlArt/JmSlideshow/Block/List.php(58): mageCoreErrorHandler(8, ‘Uninitialized s…’, ‘/home/sininen/w…’, 58, Array)
#1 /home/sininen/www/footedpaj/app/code/local/JoomlArt/JmSlideshow/Block/List.php(42): JoomlArt_JmSlideshow_Block_List->getListImages()
#2 /home/sininen/www/footedpaj/app/code/core/Mage/Core/Block/Abstract.php(643): JoomlArt_JmSlideshow_Block_List->_toHtml()
#3 /home/sininen/www/footedpaj/app/code/core/Mage/Core/Model/Email/Template/Filter.php(74): Mage_Core_Block_Abstract->toHtml()
#4 /home/sininen/www/footedpaj/lib/Varien/Filter/Template.php(128): Mage_Core_Model_Email_Template_Filter->blockDirective(Array)
#5 /home/sininen/www/footedpaj/app/code/core/Mage/Cms/Block/Page.php(80): Varien_Filter_Template->filter(Array, Array)
#6 /home/sininen/www/footedpaj/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Cms_Block_Page->_toHtml(‘
——-
I will email you the url if needed be…..
——
On another try at another URL :
Warning: strpos() [function.strpos]: Empty delimiter. in /home/sininen/www/grenouilleresfr/app/design/frontend/default/jm_mesolite/template/page/includes/templatetools.php on line 355
Trace:
#0 /home/sininen/www/grenouilleresfr/app/design/frontend/default/jm_mesolite/template/page/includes/templatetools.php(355): mageCoreErrorHandler(2, ‘strpos() [isHomepage(‘/index.php/velo…’, ”)
#2 /home/sininen/www/grenouilleresfr/app/code/core/Mage/Core/Block/Template.php(144): include(‘/home/sininen/w…’)
#3 /home/sininen/www/grenouilleresfr/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView()
#4 /home/sininen/www/grenouilleresfr/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView(‘frontend/defaul…’)
#5 /home/sininen/www/grenouilleresfr/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#6 /home/sininen/www/grenouilleresfr/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#7 /home/sininen/www/grenouilleresfr/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml()
#8 /home/sininen/www/grenouilleresfr/app/design/frontend/default/jm_mesolite/template/page/2columns-right.phtml(47): Mage_Core_Block_Abstract->getChildHtml(‘header’, true)
#9 /home/sininen/www/grenouilleresfr/app/code/core/Mage/Core/Block/Template.php(144): include(‘/home/sininen/w…’)
#10 /home/sininen/www/grenouilleresfr/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView(‘header’)
#11 /home/sininen/www/grenouilleresfr/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView(‘frontend/defaul…’)
#12 /home/sininen/www/grenouilleresfr/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#13 /home/sininen/www/grenouilleresfr/app/code/core/Mage/Core/Model/Layout.php(525): Mage_Core_Block_Abstract->toHtml()
#14 /home/sininen/www/grenouilleresfr/app/code/core/Mage/Core/Controller/Varien/Action.php(339): Mage_Core_Model_Layout->getOutput()
#15 /home/sininen/www/grenouilleresfr/app/code/core/Mage/Catalog/controllers/ProductController.php(129): Mage_Core_Controller_Varien_Action->renderLayout()
#16 /home/sininen/www/grenouilleresfr/app/code/core/Mage/Core/Controller/Varien/Action.php(367): Mage_Catalog_ProductController->viewAction()
#17 /home/sininen/www/grenouilleresfr/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(163): Mage_Core_Controller_Varien_Action->dispatch()
#18 /home/sininen/www/grenouilleresfr/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(‘view’)
#19 /home/sininen/www/grenouilleresfr/app/Mage.php(457): Mage_Core_Controller_Varien_Front->dispatch(Object(Mage_Core_Controller_Request_Http ))
#20 /home/sininen/www/grenouilleresfr/index.php(52): Mage::run()
#21 {main}
I hope you can repair these bugs… because I would like to see this template working quickly…. I paid the subsciption for it !
16 answers
I hope you can repair these bugs… or I will claim you for a refund…
Dude, seriously . . . How about presenting your question and allowing for a chance for someone to respond before throwing around the threats. It’s not always the developer’s fault -- I’ve had issues with Magento installations relating to database errors and such far before JA got into the Magento template arena.
Another resource you can also try for non JA specific (extension) issues is the Magento Forum at http://www.magentocommerce.com.
Well, it seems that extensions like Slideshow brings this problem… but I would be pleased to see this theme working on my site….
So Help needed !
Dude, seriously . . . How about presenting your question and allowing for a chance for someone to respond before throwing around the threats. It’s not always the developer’s fault -- I’ve had issues with Magento installations relating to database errors and such far before JA got into the Magento template arena.
Another resource you can also try for non JA specific (extension) issues is the Magento Forum at http://www.magentocommerce.com.
tcraw1010 woo, what’s wrong with people asking for refund if they are encountering problems
Surely Paid customer will have some right to express there feelings over at the forum.
Don’t get me wrong, I am very happy with joomlart, but I think people can complain as well as giving good reviews.
We don’t want uncomplete script to play around with. Because we paid for immediate use of the template, specially for developer.
I too encounter the same problem, also I had checked all the files regard to the isHomepage function, this function was added to this new template, and I also looked in to the vars file, it was presented. I had ask some of the programmer in house to help out, they had ask me to report to the template developer, it seems the code are not completed.
I got a reply from the support ticket.
Code:
Thank you for contacting Joomlart. I think this issue is from your upload files. You are missing some files in your website. Please try to upload this template again. If not, please send me your live url, admin account, ftp account so that i could have closer look on the issue. Sincerely, Cao Hau JoomlArt.com Customer Service. http://www.joomlart.com Ticket History Vincent Chan (Client) Posted On: 18 Mar 2009 11:43 PM Warning: strpos() [function.strpos]: Empty delimiter in /home/www/beta2/app/design/frontend/default/jm_mesolite/template/page/includes/templatetools.php on line 355[ When I go to the home page, i got this error, when i comment out the isHomepage function. the error will return Fatal error: Call to undefined method JA_Tools::isHomepage() in /home/www/beta2/app/design/frontend/default/jm_mesolite/template/page/html/header.phtml on line 51 Ticket Details Ticket ID: UJK-172026 Department: Technical Priority: High Status: Closed
Actually I upload the zip file strict to the website and start with the quickstart folder, i simply move all the file to the root folder, and then start the installation.
I am sure I didn’t got any missing file from our end.
I am used to Joomla installation, and doing some investigation on the magento platform for our companies. I had try installing both magento template, the first template was installed smoothly, but the latest one presented with 1 tiny error.
Can someone really look into this, rather then asking us to reupload or resetups on our side.
The reason for us to purchase from joomlart is to save time, i had spend 3 hours try to play around with this.
But with no lucks, and try to contact the support, but with this not really useful answers.
I can’t provide an account because we only test this out from an internal IP/server.
We really want to help out on this issue. beside the two of us, does anyone got the same problem?
I will try again to upload the files to the server again, and report this later.
Doing personal support.
Guys, don’t know from the information you give if this might be the problem, but this is not like a Joomla installation.
I have read numerous posts also in other forums where people complained about such errors when they installed the system and they all made one thing wrong, because of not having read the docs for Magento you can find in the download section on the magentocommerce.com homepage. Again, I do not know if this applies here too, as what you mention is not a lot of information on the point how you did the process of installation but…
First you have to install the sample data and then the system itself or you get errors over errors.
Hope this is the reason! Thanks.
Hi There
I too are having the same problems. I have a stable release of Magento that has never had any problems until I tried to install this Template.
##########
Warning: strpos() [function.strpos]: Empty delimiter in /var/www/kua/www-kua/app/design/frontend/default/jm_mesolite/template/page/includes/templatetools.php on line 355
##########
Suffice to say, I don’t think the problem lies entirely with the said script. It is to do with how your server is configured. Or at least the PHP ini file is set up.
The problem stems from the call to the $_SERVER[‘PHP_SELF’].
I have read somewhere that this is only supported if ‘register_globals’ is turned On. I have php 5.2.6 and by default this is turned off.
I am no coder but I do believe programmers avoid register_globals like the plague.
It would be nice if the good fellows who built this template could confirm whether this is the case and how do we go about fixing it. Alternatively maybe come with a definitive answer as to why the problem exists or even if they can replicate it.
At your earliest convenience.
kind regards Tony
Hi ! ๐ก
It works but only after this. Does it mean that if later on you change something or you need to update the Magento version, you have to do this all again :
1/ Well, I have exported the two sql files to a new sql empty base
2/ Installed the quickstart after upload
3/ Uploaded the Downloader repertory because it is not included in the quickstart !
This in order to install through extensions through Magentoconnect
4/ Import some of the tables of my previous sql (eav… for Categories, and those containing the products)
I was furious to do all again with the install of extensions (i.e. payment gateways etc…)so I did upload most tables of my current working sql database…. after a upload of my "lastest" repertories. My site got furious as well : error404 !
What a HELL. A template wouldn’t need so many things to be done from the beginning….
Please DO YOUR BEST TO OFFER a genuine real working template not a "customized" magento installation with the risk to have to do all the work again. IT NEED TO BE A SAFE INSTALL. Not an compulsory installation package….
I would appreciate a quick but real reply with corrected files.
Just like for the PURITY template (which doesn’t suit my needs because it is too much like the default magento template) that installs easily and quickly.
Hi ! ๐ก
It works but only after this. Does it mean that if later on you change something or you need to update the Magento version, you have to do this all again :1/ Well, I have exported the two sql files to a new sql empty base
2/ Installed the quickstart after upload
3/ Uploaded the Downloader repertory because it is not included in the quickstart !
This in order to install through extensions through Magentoconnect
4/ Import some of the tables of my previous sql (eav… for Categories, and those containing the products)I was furious to do all again with the install of extensions (i.e. payment gateways etc…)so I did upload most tables of my current working sql database…. after a upload of my "lastest" repertories. My site got furious as well : error404 !
What a HELL. A template wouldn’t need so many things to be done from the beginning….
Please DO YOUR BEST TO OFFER a genuine real working template not a "customized" magento installation with the risk to have to do all the work again. IT NEED TO BE A SAFE INSTALL. Not an compulsory installation package….
I would appreciate a quick but real reply with corrected files.
Just like for the PURITY template (which doesn’t suit my needs because it is too much like the default magento template) that installs easily and quickly.
Hi sini54,
As per the userguide, we do offer 2 options for the installation of JM Mesolite
1. Quickstart (Magento + Template + Included extensions): which should be applied when you first set up Mangento
2. Template installation only (apply for existing Magento installation), then you can go through our step-by-step guide to properly config the related setting+ extensions to get a site like our demo
Hi There
I too are having the same problems. I have a stable release of Magento that has never had any problems until I tried to install this Template.
##########
Warning: strpos() [function.strpos]: Empty delimiter in /var/www/kua/www-kua/app/design/frontend/default/jm_mesolite/template/page/includes/templatetools.php on line 355
##########Suffice to say, I don’t think the problem lies entirely with the said script. It is to do with how your server is configured. Or at least the PHP ini file is set up.
The problem stems from the call to the $_SERVER[‘PHP_SELF’].
I have read somewhere that this is only supported if ‘register_globals’ is turned On. I have php 5.2.6 and by default this is turned off.
I am no coder but I do believe programmers avoid register_globals like the plague.It would be nice if the good fellows who built this template could confirm whether this is the case and how do we go about fixing it. Alternatively maybe come with a definitive answer as to why the problem exists or even if they can replicate it.
At your earliest convenience.
kind regards Tony
Hi Tony,
Can you help submitting the support ticket from your Member Area with the host information ? Our office is closed on weekend but I will try to get our developer to have a look for you
Hi kuatony, sini54 & npmktg
I have made a quickfix for all of your reported error as in attach. Please unzip and copy to the root folder of your Magento installation. This fix will also be applied for the download package in the next hour
I’ve gone ahead and applied the patch you provided Hung, but even after installing the patches I am still getting the strpos() error in isHomepage() within the templatetools.php file of JM Mesolite’s template.
The site is publicly viewable at tgsjewelry.com so let me know if you would like to look at the frontend.
Thank you for your assistance,
Omar
Sorry Guys,
Still no go. If I comment out the isHomepage function at lines 347 -- 363 I do actually get the header bar appear but nothing else.
The problem must lie in the request URI.
Until later.
kind regardsTony
OK Guys
Here is my own quick fix to this problem.
Because the error is just a warning we can suppress it.
On line 355 we need to place a ‘@’ to suppress the warning.
###########
if ($uri && @strpos ($uri, $_path) === 0) {
###########
Again, I am no coder so we need an expert to step in here to explain the ramification of this.
For now it will get your template up and running and you get to play.
While you think about that, I’m off to the pub to watch England beat Scotland in the Rugby Union.
WoHoo!
kind regard Tony
Perfect !
Now there is another "bug" : in attributes, attributes fields show the admin value and not the shop value.
Example : If you expect to see value "Red" as a color attribute, you see the admin value that might be "color 1" or anything you have decided to enter as the admin value… ! ๐ฎ
I’ve gone ahead and added a check around that if statement to see if the $_path statement is empty or not (since that’s what the warning is complaining about) with the following code:
PHP Code:
if (!empty($_path)) {
if ($uri && strpos($uri, $_path) === 0) {
$uri = substr($uri, strlen ($_path));
}
}
In this file:
app/design/frontend/default/jm_mesolite/template/page/includes/templatetools.php
Tony’s fix will work as well, but I went through the function to see if there might be any problems caused by doing this and it does not look like it would cause any issues.
Thank you for the fixes, I will get the dev team to update the new download version with all bug fixes tomorrow
It would of been nice if you really did update the download. I downloaded it a week ago and have been trying to install it ever since with no help at all from tech support.
I changed the code with the above code and I can finally load the template.
QUESTION: Is my template stable or is it going to crap out again?
I am feeling very uneasy about this template and company.
This question is now closed