X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   X-Payments issues & questions (https://forum.x-cart.com/forumdisplay.php?f=50)
-   -   Never was allowed to change password (or login) after x-payments installation (https://forum.x-cart.com/showthread.php?t=65042)

KShepherd 10-04-2012 12:12 PM

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.

KShepherd 10-05-2012 08:56 AM

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

KShepherd 10-05-2012 01:18 PM

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)

bullfrog 10-21-2012 05:08 AM

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?

Duramax 6.6L 10-21-2012 06:23 AM

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

bullfrog 10-21-2012 01:30 PM

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.

ambal 10-23-2012 05:13 AM

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?

carpeperdiem 10-23-2012 05:30 AM

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

ambal 10-23-2012 06:54 AM

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

carpeperdiem 10-23-2012 07:01 AM

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.


All times are GMT -8. The time now is 07:52 AM.

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