Author Topic: Admin login  (Read 10578 times)

Offline shop123

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Admin login
« on: December 02, 2013, 12:32:09 PM »
Hello.

I finally managed to move on other fresh and better hosting provider. Uploaded everything on the new host ( files and database), made changes in config.php and now I'm trying to login as admin on the website...
I'm gettin these errors while trying to login


2013-12-02 8:56:23 - App Warning:  AbanteCart core v.1.1.7 Warning: Accessing store with unconfigured or unknown domain ( new-domain.com/ ).
 Check setting of your store domain URL in System Settings . Loading default store configuration for now. in /home/digitals/public_html/core/lib/config.php on line 169
2013-12-02 8:56:23 - warning:  AbanteCart core v.1.1.7 session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/digitals/public_html/system/config.php:1) in <b>/home/digitals/public_html/core/lib/session.php</b> on line <b>77</b>
2013-12-02 8:56:23 - warning:  AbanteCart core v.1.1.7 session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/digitals/public_html/system/config.php:1) in <b>/home/digitals/public_html/core/lib/session.php</b> on line <b>77</b>
2013-12-02 8:56:23 - warning:  AbanteCart core v.1.1.7 Cannot modify header information - headers already sent by (output started at /home/digitals/public_html/system/config.php:1) in <b>/home/digitals/public_html/core/engine/language.php</b> on line <b>288</b>
2013-12-02 8:56:23 - warning:  AbanteCart core v.1.1.7 Cannot modify header information - headers already sent by (output started at /home/digitals/public_html/system/config.php:1) in <b>/home/digitals/public_html/core/lib/currency.php</b> on line <b>107</b>
2013-12-02 8:56:23 - warning:  AbanteCart core v.1.1.7 Cannot modify header information - headers already sent by (output started at /home/digitals/public_html/system/config.php:1) in <b>/home/digitals/public_html/core/engine/controller.php</b> on line <b>202</b>



and white page after adding email address and password for admin login....anyone?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Admin login
« Reply #1 on: December 02, 2013, 02:43:29 PM »
1. purge directory system/cache (except index.html file)
2. check is output buffering supported on new host (look into php.ini or into output of phpinfo(); function (some cpanel have it "section"))
3. also i see that new host can not to start session. probably server's misconfiguration.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline shop123

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Admin login
« Reply #2 on: December 02, 2013, 07:16:25 PM »
done the first step..

in php.ini this is what i get

magic_quotes_gpc = Off;
register_globals = Off;
default_charset   = UTF-8;
memory_limit = 64M;
max_execution_time = 18000;
max_upload_filesize = 100M;
safe_mode = Off;
mysql.connect_timeout = 20;
session.use_cookies = On;
session.use_trans_sid = Off;
session.gc_maxlifetime = 12000000;

Offline shop123

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Admin login
« Reply #3 on: December 03, 2013, 07:12:10 PM »
anyone?

 Check setting of your store domain URL in System Settings . Loading default store configuration for now. in /home/digitals/public_html/core/lib/config.php on line 169
2013-12-03 15:43:58 - warning:  AbanteCart core v.1.1.7 session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/digitals/public_html/system/config.php:1) in <b>/home/digitals/public_html/core/lib/session.php</b> on line <b>77</b>
2013-12-03 15:43:58 - warning:  AbanteCart core v.1.1.7 session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/digitals/public_html/system/config.php:1) in <b>/home/digitals/public_html/core/lib/session.php</b> on line <b>77</b>
2013-12-03 15:43:58 - warning:  AbanteCart core v.1.1.7 Cannot modify header information - headers already sent by (output started at /home/digitals/public_html/system/config.php:1) in <b>/home/digitals/public_html/core/engine/language.php</b> on line <b>288</b>
2013-12-03 15:43:58 - warning:  AbanteCart core v.1.1.7 Cannot modify header information - headers already sent by (output started at /home/digitals/public_html/system/config.php:1) in <b>/home/digitals/public_html/core/lib/currency.php</b> on line <b>107</b>
2013-12-03 15:43:58 - warning:  AbanteCart core v.1.1.7 Cannot modify header information - headers already sent by (output started at /home/digitals/public_html/system/config.php:1) in <b>/home/digitals/public_html/core/engine/controller.php</b> on line <b>202</b>
« Last Edit: December 03, 2013, 07:16:14 PM by shop123 »

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Admin login
« Reply #4 on: December 03, 2013, 09:03:34 PM »
This error indicates that you have some space or character in file /home/digitals/public_html/system/config.php that is not inside PHP tag

Make sure there is nothing before and after PHP tags
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline shop123

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Admin login
« Reply #5 on: December 04, 2013, 08:06:02 AM »
theres nothing before and after php tags :s :(

<?php

// Admin Section Configuration. You can change this value to any name. Will use ?s=name to access the admin
define('ADMIN_PATH', 'admin123');

// Database Configuration
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'digitals_usr');
define('DB_PASSWORD', 'pass');
define('DB_DATABASE', 'digitals_dta');
define('DB_PREFIX', 'ab_');
define('SALT', 'PnTw');
define('UNIQUE_ID', 'unique id');
?>

if i delete <? it gives me other error. Please help me somehow or else i'll have to start all over again ( adding products again :( )

If this can't be solved...is there any way to add only products and categories after a fresh install of AbanteCart? without customer, orders and others ??
« Last Edit: December 04, 2013, 08:09:57 AM by shop123 »

Offline shop123

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Admin login
« Reply #6 on: December 04, 2013, 09:36:42 AM »
Looks like I managed to fix it. Thank you guys.  :-*

Offline buddahboy

  • Full Member
  • ***
  • Posts: 234
  • Karma: +32/-0
    • View Profile
Re: Admin login
« Reply #7 on: December 05, 2013, 11:54:15 AM »
Hi - what was the fix?  Prying eyes wanna know - thanks

All the best
AbanteCart is one hell of a shopping cart.  Donate once in a while and keep the development plus support going.  --  That's my opinion and I'm stickin' to it!

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Admin login
« Reply #8 on: December 05, 2013, 02:38:32 PM »
What I have seen before, that some editors or FTP clients add special character/bite at the beginning of the file. You will see it only with operating system side with vi command. PHP does not like anything before first <?php tag

The fix was to delete the file and create new one with the same content.

Not sure what was the case here. Also wonder to know.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline buddahboy

  • Full Member
  • ***
  • Posts: 234
  • Karma: +32/-0
    • View Profile
Re: Admin login
« Reply #9 on: December 13, 2013, 09:03:25 AM »
Abantecart - that seems to be right, thanks.  I forgot about the extra characters being added - it's always the simple stuff isn't it? 

Thanks for your continued assistance - speaking for myself I could not have done a job that I am very very happy with had it not been for team AC and the others that help out. 

All the best
Ron
AbanteCart is one hell of a shopping cart.  Donate once in a while and keep the development plus support going.  --  That's my opinion and I'm stickin' to it!

 

Powered by SMFPacks Social Login Mod