X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Mobile view of my site looks weird on an android phone (https://forum.x-cart.com/showthread.php?t=69154)

verizona 05-14-2014 08:42 AM

Re: Mobile view of my site looks weird on an android phone
 
Hi Tony,
Mike White's video shows only how to change margin and padding. I didn't see how to change powered by on the left corner and how to remove X-Cart version writing on top left corner in the admin side.
Thanks

verizona 05-14-2014 09:07 AM

Re: Mobile view of my site looks weird on an android phone
 
Hi Tony,
I created the Main.php in XLite\Module\Osman\Bluejay folder
then I run Re-build cache and got the error ERROR: "23000" (code N/A)

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'majorVersion' cannot be null

verizona 05-14-2014 09:09 AM

Re: Mobile view of my site looks weird on an android phone
 
and now I cannot access to neither customer site nor admin site. it shows store temporarly closed.

verizona 05-14-2014 09:28 AM

Re: Mobile view of my site looks weird on an android phone
 
This is the xlite.log
<?php die(1); ?>
May 14 15:42:32 XLite [warning] Form ID checking failure (target: login, action: login)
Server API: cgi-fcgi;
Request method: POST;
URI: /shop/admin.php?target=login;

May 14 15:42:42 XLite [warning] Form ID checking failure (target: login, action: login)
Server API: cgi-fcgi;
Request method: POST;
URI: /shop/admin.php?target=login;

tony_sologubov 05-15-2014 06:52 AM

Re: Mobile view of my site looks weird on an android phone
 
Quote:

Originally Posted by verizona
Hi Tony,
Mike White's video shows only how to change margin and padding. I didn't see how to change powered by on the left corner and how to remove X-Cart version writing on top left corner in the admin side.
Thanks


Aside from that it shows how to work with CSS styles in general.

Anyway, in order to hide powered by label in the store-front please follow the instruction in this thread:
http://forum.x-cart.com/showthread.php?t=68904&highlight=powered+by

In order to hide powered by in admin area, you need to write a mod similar to this one:
http://forum.x-cart.com/showpost.php?p=371045&postcount=2

tony_sologubov 05-15-2014 06:56 AM

Re: Mobile view of my site looks weird on an android phone
 
Quote:

Originally Posted by verizona
Hi Tony,
I created the Main.php in XLite\Module\Osman\Bluejay folder
then I run Re-build cache and got the error ERROR: "23000" (code N/A)

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'majorVersion' cannot be null


Could you please check your Main.php file and let me know whether you have the following line there?

PHP Code:

namespace XLite\Module\Tony\Example


If so, please replace it with the following one:
PHP Code:

namespace XLite\Module\Osman\Bluejay


After that, please remove the <X-Cart 5>/var/run folder and <X-Cart 5>/var/.rebuildStarted file. Finally, run your admin.php script in the browser and everything should work out properly.

Tony.


All times are GMT -8. The time now is 06:10 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.