| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Mobile view of my site looks weird on an android phone | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Mobile view of my site looks weird on an android phone
Hi,
when i check my site on an android device, after i click catalog,i can see the categories without any problem. but after i click one of the categories,the product images and writings are all around. looks like a line by line html file. any idea? thanks
__________________
mobile |
|||||||
#2
|
|||||||
|
|||||||
Re: Mobile view of my site looks weird on an android phone
This is the link below which shows catalog abnormal in an android phone;
bluejaydealers.com/parktelusa
__________________
mobile |
|||||||
#3
|
|||||||||
|
|||||||||
Re: Mobile view of my site looks weird on an android phone
Could you please check the files in the <X-Cart 5>var/log/ folder and post here if there are any error messages? They are usually in the files called xlite or php_errors.
Looks like the template responsible for inclusion of CSS files is not loaded at all. |
|||||||||
#4
|
|||||||
|
|||||||
Re: Mobile view of my site looks weird on an android phone
Hi Tony,
this is the todays php_errors.php <?php die(1); ?> [12-May-2014 18:58:41] Error (code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '424-4' for key 'PRIMARY' SQL query: INSERT INTO xc_product_membership_links (product_id, membership_id) VALUES (?, ?) SQL query parameters: array ( 0 => 424, 1 => 4, ) Server API: cgi-fcgi; Request method: POST; URI: /parktelusa/admin.php?target=event_task&action=run&event=impor t; Backtrace: #0 /home/bl963267/public_html/parktelusa/lib/Doctrine/ORM/Persisters/AbstractCollectionPersister.php(130): XLite\Core\Connection->executeUpdate('INSERT INTO xc_...', Array) #1 /home/bl963267/public_html/parktelusa/lib/Doctrine/ORM/Persisters/AbstractCollectionPersister.php(10: Doctrine\ORM\Persisters\AbstractCollectionPersiste r->insertRows(Object(Doctrine\ORM\PersistentCollecti on)) #2 /home/bl963267/public_html/parktelusa/lib/Doctrine/ORM/UnitOfWork.php(325): Doctrine\ORM\Persisters\AbstractCollectionPersiste r->update(Object(Doctrine\ORM\PersistentCollection)) #3 /home/bl963267/public_html/parktelusa/lib/Doctrine/ORM/EntityManager.php(355): Doctrine\ORM\UnitOfWork->commit(NULL) #4 /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Model/Repo/ARepo.php(470): Doctrine\ORM\EntityManager->flush() #5 /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Model/Repo/ARepo.php(632): XLite\Model\Repo\ARepo->flushChanges() #6 /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Logic/Import/Processor/Products.php(926): XLite\Model\Repo\ARepo->deleteInBatch(Array) #7 [internal function]: XLite\Logic\Import\Processor\Products->importCategoriesColumn(Object(XLite\Model\Product ), Array, Array) #8 /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Logic/Import/Processor/AProcessor.php(1077): call_user_func(Array, Object(XLite\Model\Product), Array, Array) #9 /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Logic/Import/Processor/AProcessor.php(97: XLite\Logic\Import\Processor\AProcessor->updateModelAssociations(Object(XLite\Model\Produc t), Array) #10 /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Logic/Import/Processor/AProcessor.php(907): XLite\Logic\Import\Processor\AProcessor->updateModel(Object(XLite\Model\Product), Array) #11 /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Logic/Import/Processor/Products.php(867): XLite\Logic\Import\Processor\AProcessor->importData(Array) #12 /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Logic/Import/Processor/AProcessor.php(492): XLite\Logic\Import\Processor\Products->importData(Array) #13 /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Logic/Import/Step/Import.php(44): XLite\Logic\Import\Processor\AProcessor->processCurrentRow('import') #14 /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Core/EventListener/Import.php(84): XLite\Logic\Import\Step\Import->process() #15 /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Core/EventListener/Base/Countable.php(156): XLite\Core\EventListener\Import->processItem(Object(XLite\Logic\Import\Step\Import )) #16 /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Core/EventListener/Base/Countable.php(95): XLite\Core\EventListener\Base\Countable->runCurrentStep() #17 /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Core/EventListener/AEventListener.php(61): XLite\Core\EventListener\Base\Countable->handleEvent('import', Array) #18 /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Core/EventListener.php(62): XLite\Core\EventListener\AEventListener::handle('i mport', Array) #19 /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Controller/Admin/EventTask.php(79): XLite\Core\EventListener->handle('import', Array) #20 /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Controller/AControllerAbstract.php(1169): XLite\Controller\Admin\EventTask->doActionRun() #21 /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Controller/AControllerAbstract.php(118: XLite\Controller\AControllerAbstract->callAction() #22 /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Controller/AControllerAbstract.php(434): XLite\Controller\AControllerAbstract->run() #23 /home/bl963267/public_html/parktelusa/var/run/classes/XLite/Controller/Admin/AAdmin.php(153): XLite\Controller\AControllerAbstract->handleRequest() #24 /home/bl963267/public_html/parktelusa/var/run/classes/XLite.php(407): XLite\Controller\Admin\AAdmin->handleRequest() #25 /home/bl963267/public_html/parktelusa/var/run/classes/XLite.php(432): XLite->runController() #26 /home/bl963267/public_html/parktelusa/admin.php(37): XLite->processRequest() #27 {main}
__________________
mobile |
|||||||
#5
|
|||||||||
|
|||||||||
Re: Mobile view of my site looks weird on an android phone
This log does not seem to be related to this problem. Are xlite logs empty?
Besides that, are you sure that your hosting account is not run of disc space? |
|||||||||
#6
|
|||||||
|
|||||||
Re: Mobile view of my site looks weird on an android phone
Hi Tony,
there is xlite log file and it is not empty. i checked the disk space and it is not run of disc space. if template is the problem, how can i load template responsible for inclusion of CSS files? thanks
__________________
mobile |
|||||||
#7
|
|||||||
|
|||||||
Re: Mobile view of my site looks weird on an android phone
Hi Tony,
I reinstalled XC5. it looks fine now. one of the add-on was causing the problem. I don't know which one. I haven't disabled any of them, and it works fine. bluejaydealers.com/shop thanks for your replies.
__________________
mobile |
|||||||
#8
|
|||||||||
|
|||||||||
Re: Mobile view of my site looks weird on an android phone
Quote:
It would be really helpful if you could say what modules were enabled when you could see this issue. Can you possible ask your hosting team to provide a backup of the database which was used a day before? This way I will be able to check this bug and we will fix it in the future releases. Thank you. Tony. |
|||||||||
#9
|
|||||||
|
|||||||
Re: Mobile view of my site looks weird on an android phone
Hi Tony,
I tested add-ons one by one and the result is when you disable market price add on, it messes up the mobile view catalog pictures. Can you please let me know how can I put a picture in mobile view home page? In the admin side, how can I remove X-Cart version writing on top left corner, and powered by writing on the bottom left corner? Thanks
__________________
mobile |
|||||||
#10
|
|||||||||
|
|||||||||
Re: Mobile view of my site looks weird on an android phone
Quote:
This problem is already fixed in X-Cart 5.1.1. Quote:
You need to write a mod in this case. I can explain you how to do it, if you want to. As a first step, please create a module according to the article here: http://kb.x-cart.com/display/XDD/How+to+create+a+module Quote:
In this case, you should watch Mike White's video about changing CSS styles http://www.youtube.com/watch?v=3FwWfadCvuw&list=UUGLOcgDhnTOaqrATLB4vnIg Please, let me know if it is helpful for you. Tony, |
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|