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

Never was allowed to change password (or login) after x-payments installation
 
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions
 
Thread Tools
  #1  
Old 10-04-2012, 12:12 PM
 
KShepherd KShepherd is offline
 

Newbie
  
Join Date: Feb 2010
Posts: 5
 

Default Never was allowed to change password (or login) after x-payments installation

I received the emails at the end of the x-payments installation process and now am in the position of being unable to log in for the first time. When I click on the link that is supposed to allow me to change my password, it does not go to the new password screen, but bypasses it and goes to the login screen. I do not recall setting my password, but perhaps I did. So, I go to forgot password and get the "password recovery request" email. When I click the link in this email, it takes me to a screen that says "Internal Error: The requested action cannot be performed. See logs for details."

When I go to the logs, I see

ERROR [2012-04-10 08:02:43]
User: unknown; IP: 97.97.157.123
Zone: Model
Code: TARGET_UNALLOWED (843)
Unallowed target - "\"blank\""

Affected systems: Model/Permissions.php file (373:assert); Model/Permissions.php file (486:checkTarget); Transport/Router.php file (148:checkRouterInfo); Application.php file (147:__construct); /var/www/html/xpayments/admin.php file (26:run)

I also should mention that in the beginning when I tried to log in (even though I was not prompted to change my password, I tried my default username/password and grabbed a pin from the pin code email), I grabbed a pin code from the end of the list and then tried another one (second to last). I now realize these pins are for one-time use and should be used in order (first to last). So, that may have fouled something up.

Can you please advise me on what I should do to be able to proceed with my first login to the x-payments system following installation.

Thanks.
__________________
X-Cart Gold
Reply With Quote
  #2  
Old 10-05-2012, 08:56 AM
 
KShepherd KShepherd is offline
 

Newbie
  
Join Date: Feb 2010
Posts: 5
 

Default Re: Never was allowed to change password (or login) after x-payments installation

Anyone?
__________________
X-Cart Gold
Reply With Quote
  #3  
Old 10-05-2012, 01:18 PM
 
KShepherd KShepherd is offline
 

Newbie
  
Join Date: Feb 2010
Posts: 5
 

Default Re: Never was allowed to change password (or login) after x-payments installation

Since it seems like a permissions issue, I found instructions on this page
http://help.x-cart.com/index.php?title=X-Payments:Setting_up_file_permissions_for_X-Payments

After finding that the "privileged mode" is enabled on my server, followed the "terminal" commands and modified permissions as specified on this page for privileged mode:

$ find . -name '*' -type d -exec chmod 0711 {} \;
$ find . -name '*' -type f -exec chmod 0600 {} \;
$ chmod -R 755 var public lib/XPay/Templates lib/XPay/Skin

After making these changes, backed up and ran install.php again hoping for different results. Still going to the link found in the email and hitting a page with an "internal error" rather than a page that prompts me to change my password.

Can you offer any suggestions on what to try next? The errors in the log file are not turning up any results when I search so I'm at a loss for what they should be telling me.


ERROR [2012-05-10 15:06:14]
User: unknown; IP: 97.97.157.123
Zone: Model
Code: TARGET_UNALLOWED (843)
Unallowed target - "\"blank\""

Affected systems: Model/Permissions.php file (373:assert); Model/Permissions.php file (486:checkTarget); Transport/Router.php file (148:checkRouterInfo); Application.php file (147:__construct); /var/www/html/xpayments/admin.php file (26:run)
__________________
X-Cart Gold
Reply With Quote
  #4  
Old 10-21-2012, 05:08 AM
  bullfrog's Avatar 
bullfrog bullfrog is offline
 

eXpert
  
Join Date: Oct 2004
Location: Oregon, USA
Posts: 366
 

Default Re: Never was allowed to change password (or login) after x-payments installation

I'm having a similar experience trying to install the 1.0.5 version. I actually have a 1.0.4 version running, but I'm doing store upgrades that need 1.0.5.

My log error is (email & IP made generic):
Quote:
ERROR [2012-21-10 07:07:11]
User: me@myemail.com; IP: 123.456.789.123
Zone: Core
Code: CONFIG_VAR_NOT_EXISTS (207)
Configuration variable '"xp_version"' does not exist

I don't know where the xp_version should be, and I don't know why it doesn't exist.

I did a complete reinstall and that did not change the outcome.

With each installation I got a PIN email and I entered a password on my first login attempt. Then I get an 'internal error' message, and continue to get them on subsequent attempts. I've never been able to log in to 1.0.5.

Any advice?
__________________
Bullfrog ~~~ X-Cart Gold v4.7.2 (2) v4.7.8. ⌠If the road is easy, you're likely going the wrong way.■ ― Terry Goodkind
Reply With Quote
  #5  
Old 10-21-2012, 06:23 AM
 
Duramax 6.6L Duramax 6.6L is offline
 

X-Adept
  
Join Date: Dec 2006
Posts: 865
 

Default Re: Never was allowed to change password (or login) after x-payments installation

I believe in the config.ini file there is a line that has the version number
__________________
Xcart 5.1.6 Building New Store
Xcart4.6.4 Gold Plus
Xcart 4.6.4 Platinum
Smart Template,
Mail Chimp Upgrade
Checkout One (One Page Checkout)
Checkout One X-Payments Connector
Checkout One Deluxe Tools
Call For Price
On Sale Module
Buy Together Module
MAP Price MOD
Reply With Quote
  #6  
Old 10-21-2012, 01:30 PM
  bullfrog's Avatar 
bullfrog bullfrog is offline
 

eXpert
  
Join Date: Oct 2004
Location: Oregon, USA
Posts: 366
 

Default Re: Never was allowed to change password (or login) after x-payments installation

After spending more time on the forum I believe I found my answer. There is a document about upgrading X-Payments that says to add a line to the config.ini.php file.

http://help.x-cart.com/index.php?title=X-Payments:Upgrading

Quote:
Copy config/config.ini.php file from your X-Payments directory to the directory where the new package has been unpacked and modify this file as follows:
  • below this code:
  • ; The flag allows (value 1) or prohibits (value 0) showing detailed error
  • ; messages in software. The messages will contain detailed information,
  • ; which is usually written to log files only.
  • detailed_messages=0
  • add this line:
  • xp_version="1.0.5"

I can now log in.

I am now going to suggest to QT that X-Payments should have installation and modification instructions INCLUDED with distributions. Right now there are none, and it's left up to the user to find documents online.

I found:
X-Payments:User manual
http://help.x-cart.com/index.php?title=X-Payments:User_manual

X-Payments:Installation
http://help.x-cart.com/index.php?title=X-Payments:Installation

I had no reason to suspect I needed a third document.

Why wasn't the line above already included in the 1.0.5 config file? I wasted hours on this.
__________________
Bullfrog ~~~ X-Cart Gold v4.7.2 (2) v4.7.8. ⌠If the road is easy, you're likely going the wrong way.■ ― Terry Goodkind
Reply With Quote

The following user thanks bullfrog for this useful post:
ambal (10-22-2012)
  #7  
Old 10-23-2012, 05:13 AM
  ambal's Avatar 
ambal ambal is offline
 

X-Cart team
  
Join Date: Sep 2002
Posts: 4,109
 

Default Re: Never was allowed to change password (or login) after x-payments installation

Bullfrog,

> I am now going to suggest to QT that X-Payments should have installation and
> modification instructions INCLUDED with distributions.

Actually there is a line about upgrarding in X-Payments README file:
--------------------------------------------------------------------
V. UPGRADE
================

For upgrade instructions please follow this link:
http://help.qtmsoft.com/index.php?title=X-Payments:Upgrading
--------------------------------------------------------------------

Perhaps you meant some other file or place within X-Payment package?
__________________
Sincerely yours,
Alex Mulin
VP of business development for X-Cart
X-Payments project manager
Reply With Quote
  #8  
Old 10-23-2012, 05:30 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Never was allowed to change password (or login) after x-payments installation

I see both sides:

1. In the install/upgrade docs, there is a LINK to the most up-to-date documentation;
2. Customer expects correct documentation in distribution;

As a survivor of an x-payments install just last week, it is easy to miss a step. It's probably the most involved install I've ever done. I'm not talking about copy/pasting code. The x-payments install requires many things to happen successfully, else total failure. For the most part, it's documented, but yes, as Bullfrog pointed out, it's not all in one place.

The x-payments install and config requires multiple documents and lots of reading. In a more perfect world, it would be in one place.

Post-install, i wish the docs discussed template editing and steps for personalization. Without webmaster mode, it's a click and pray process.

But once configured, it's good to know that my cc processing is PCI-DSS secure. I don't think my customers care.

J
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #9  
Old 10-23-2012, 06:54 AM
  ambal's Avatar 
ambal ambal is offline
 

X-Cart team
  
Join Date: Sep 2002
Posts: 4,109
 

Default Re: Never was allowed to change password (or login) after x-payments installation

> The x-payments install and config requires multiple documents and lots of reading. > In a more perfect world, it would be in one place.

http://help.x-cart.com/index.php?title=X-Payments:User_manual - the one place.

Anyway, X-Payments installation may seem complex, but the truth is that we had to make it that complex in order to follow all the PA-DSS requirements.

For those who need PCI compliant credit card processing and easy setup we launched X-Payments Hosted - http://www.x-cart.com/extensions/modules/xpayments.html
__________________
Sincerely yours,
Alex Mulin
VP of business development for X-Cart
X-Payments project manager
Reply With Quote
  #10  
Old 10-23-2012, 07:01 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Never was allowed to change password (or login) after x-payments installation

Quote:
Originally Posted by ambal
> In a more perfect world, it would be in one place.

http://help.x-cart.com/index.php?title=X-Payments:User_manual - the one place.


Ah!
Maybe the docs in the distribution should simply point here? I fell into the same traps as others... and I think not having this staring me in the face was a contributing factor. Wish I had it 2 weeks ago.

Thanks for sharing. It's now bookmarked.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not 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:34 PM.

   

 
X-Cart forums © 2001-2020