Auth Component login issue on Linux [closed] - cakephp

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've been working with CakePHP for sometime now, specifically using the Auth component. I have several running instances of the current web app I'm working on, all of them installed on various Linux machines.
This morning I was denied access to two of the instances. The odd thing is I did not change anything since yesterday.
I'm pretty sure there's no database issue, the logs look exactly the same as before. The only difference is that instead of redirecting me to the home page, I keep getting redirected back to my login page. The other difference is now I never get the flash message that's set in the 'authError' member of the Auth component.
Some other stuff I tried is to clean browsing data from my browser, restart Apache and reboot my machines.
One other piece of information is that both misbehaving machines are VMs running on my desktop PC.

This can be session issue. Check if time on VMs is correct. It is possible that session expires instantly if client time is diffrent than server's time....

Related

Selenium and Amazon Captcha [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed yesterday.
Improve this question
I'm running code in selenium to check for lower price on an item on Amazon. Once my target price hits, my code executes and once my account is logged, Amazon asks for log in again with a captcha. Now, I have the same code running on another PC and it executes fine without any captcha.
I've deleted all the User Data for Chrome, uninstalled Chrome with All data from the uninstaller, and clear any cookies or settings, but once I install Chrome again, I get the same captcha error.
Does any know where Amazon might be storing this information in order for me to clear it? Could is possible it's somewhere in regedit?
Reinstalled Chrome, Deleted all data from User Folder.
Provide your code, otherwise we can't help you.
Possible solutions:
If it's a Chrome WebDriver, you are in developer mode and any website can read it.
You are talking about YOUR information, however, Amazon may also have restricted your account for inappropriate use. These companies detect this type of conduct VERY easily.
Try to store cookies and avoid multiple logins.

How to access localhost with VPN turned on [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last month.
Improve this question
I work on a mac OS with VPN enabled. It blocks access to localhost. So when I run a live server or a React application, I get an error ERR_CONNECTION_TIMED_OUT
Please avoid the advice like disabling the VPN. I'm asking for an explanation if somehow on mac os and using NordVPN I can add localhost to exceptions and allow access.
Thank you very much for the answers.
Running live server or React app gives error in browser ERR_CONNECTION_TIMED_OUT
In my understanding. Localhost refer to YOUR computer and having an active VPN does not change that.
Maybe your react app try to access ressources that aren't local

DDOS Attack causing Database connection error [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have hosted my Prestashop at Fastdomain server it's like the 4th year, the website is stable and working fine till 3 days ago where my email inbox got full of spam and more than 300K requests on the site causing the site to go down.
I activated the basic protection from Sitelock provided from Fastdomain Cpanel, it worked fine for two days and the site is down again cuz of another strike.
Fastdomain support tried to fix it but no instant method they said the problem is caused due to script overuse in send to friend module, even though this module is an original PrestaShop module, and they said the website will "recover" in few hours.
any comment or thoughts? how t respond to such attack!?
my website is elektrojo.com and am using the up to date version
This appears to be a common problem. Not only is it taking your site down, it may be being used to spam others, which has the risk of getting your domain blacklisted.
In that thread was linked an updated version of the module supporting a CAPTCHA, along with a similar modification for product reviews. It seems to be for PrestaShop 1.5 and 1.6.
If you have some kind of a "backend" which you can update modules on, you should also do that.
Another suggestion is to use fail2ban to detect repeated attempts to access this feature and block it. You may not have the necessary access to do that, but if not, your hosts should be able to.
Failing that, you should remove the sendtoafriend code (ensure the files are actually gone from their original location) until you have found a way to harden it, since it's being abused to take your site down.

How to start wpf application every time when computer starts? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I have developed wpf application, in which I have reminder functionality.
Case 1: Current Scenario
Currently I have place my application in startup folder in setup. and application starts whenever my computer starts. But now I have added login functionality so now my client need to login whenever computer starts which is annoying.
According to my functionality, After login into system reminder starts in background.
Case 2: Required
Now what I required is that my application starts in background without login into system, Reminder functionality works as if right now working.
Any help will be appreciated...
Starting a program without a user requires it written as a service, or started from one.
There are ways to start an exe file from a service.
Developing a service is basically the same as any other application; but without the GUI. Debugging a service is tedious so you should move the parts you want to execute when running as a service into a DLL. Then you should have an exe to load and execute the methods of the DLL.
This way you have an easy way to debug the functionality of the service; and can have as few times debugging-when-running-as-a-service as possible.
There are certain caveats when starting and stopping a service, mainly because the old service wasn't stopped and uninstalled as you supposed.
Tip: Autorun helps you survey the 4 or more ways to automatically start an application.
How to let a service show a GUI then? I haven't written one myself but found two valid links here and here.

I got switched to USPS production Account still problems [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
Last night I mailed USPS customer care executive and they had switched my account to production server in USPS.I got mail from them in which I got this message
Dear USPS Customer,
Thank you for contacting us. Congratulations on completing your
testing using the U.S. Postal Services Internet Shipping Application
Program Interfaces (APIs). Your profile has been updated to allow you
access to the Production Server.
1. The Production Server URL is: http://production.shippingapis.com. For APIs calling the secure server, the URL is
https://secure.shippingapis.com.
2. There is a line of code that refers to "shippingapitest.dll". You'll need to remove the word "test".
In the test server code I was using
$usps->setServer("http://testing.shippingapis.com/ShippingAPITest.dll");
Now I tried using this code today
$usps->setServer("http://production.shippingapis.com");
even I tried this code to get responce
$usps->setServer("http://production.shippingapis.com/ShippingAPI.dll");
Please any one used USPS in past help me.
Here is the link which helped me to test USPS in Test serverlink text
Thanks in Advance
I called USPS last night and mentioned them about the error I was getting in the production URL they asked for my User Id and told me to try and the code was working fine.Thus don't waste time and call customer care executive

Resources