Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Mobile view of my site looks weird on an android phone

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #11  
Old 05-14-2014, 08:42 AM
 
verizona verizona is offline
 

Member
  
Join Date: May 2014
Posts: 27
 

Default 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
__________________
mobile
Reply With Quote
  #12  
Old 05-14-2014, 09:07 AM
 
verizona verizona is offline
 

Member
  
Join Date: May 2014
Posts: 27
 

Default 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
__________________
mobile
Reply With Quote
  #13  
Old 05-14-2014, 09:09 AM
 
verizona verizona is offline
 

Member
  
Join Date: May 2014
Posts: 27
 

Default 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.
__________________
mobile
Reply With Quote
  #14  
Old 05-14-2014, 09:28 AM
 
verizona verizona is offline
 

Member
  
Join Date: May 2014
Posts: 27
 

Default 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;
__________________
mobile
Reply With Quote
  #15  
Old 05-15-2014, 06:52 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default 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
Reply With Quote
  #16  
Old 05-15-2014, 06:56 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default 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.
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020