Fail to access Modx Manager from a different computer. Says password and username are incorrect - content-management-system

I am new to Modx. I successfully installed and set up Modx on my laptop on localhost using xampp. However I would like to work on Modx on my desktop. I have copied over the htdocs onto my desktop. And have set up my database identically. When accessing Modx Manager, my username and password is said to be incorrect. I am using the same username and password and it works on my laptop (I have checked for typos). I do not understand why I am unable to log in. Can someone guide me so I can successfully work on my Modx on my desktop computer?

Often a stale session from your browser can prevent login. Try logging in from an incognito window.
Also, did you ensure that the MODX install on your desktop has the correct paths in config.core.php files? There's one in your document root, one in your manager folder, and one in your connectors folder.
Furthermore the paths and DB connection info need to be environment specific, in {core_path}/config/{config_key}.inc.php
When you migrated the site to your desktop, did you run the setup program again? Often that helps to fix paths, but you need to normalize the config.inc.php file first.
If you can access the database directly, you can change the hash_class value for your user in the modx_users table to hashing.modMD5 temporarily so that you can manually enter an MD5-hashed password. Maybe there's an issue with the PBKDF2 on your desktop local environment.
Some ideas to try, anyways.

Related

how save file on server using HostingEnvironment.MapPath()

in this code iam trying to save text document on server / wwwroot folder. nothing happens :(!
if i am working on localhost and doing the same routine like this, everything works fine and i can save text document on local pc.:
If the same code works in your Dev machine and not working in Production, It should be folder Permission issue. I guess you have to change the folder permissions in server so that ASP.NET can write to that directory.
Checkout this link which explains how to do that.
Make sure you are not giving Write/Modify Permission to "Everyone"

Configuring SVN from PKCS12 files

When I started my current job, I was told to install the Subversive plugin for Eclipse, and given the URL of the repository to pull projects down from. My username and password were/are the same as my Active Directory credentials. So I installed the plugin, created a new repository (don't remember how, but it was easy to do), and have never looked back.
I am now being transitioned to a different team, who also use SVN for source control, but have it set up on a completely different server. I was asked to put in a ticket with the systems people to request access to this SVN server so I could access this other team's code.
The systems person assigned to my ticket just sent me the following email:
Attached are the pkcs12 files that are needed for your access to SVN on [svn.someserver.com]. You’ll need to put these files on your local systems and then add the following configuration to the ~/.subversion/servers file, for your SVN client. I just use the svn command on linux, so my home directory contains the .subversion directory and the servers file is in that directory. I will send your password separately.
Note: I have a Windows machine, so a part of my confusion may stem from the fact that the tech is on Linux and I am on Windows 7.
The attachment was a ZIP file that extracted two separate files:
foo.pem - a PEM file (?)
atannon - a "Personal Information Exchange" file (?); same as my username
The tech followed up with an email giving me my password in cleartext.
I checked my home directory and do not see a .subversion or .svn hidden directory anywhere. I am wondering if I need to follow his directions, but using my Program Files/eclipse/ directory instead.
So I have several questions here, all relating to how to configure SVN access in the manner prescribed by this systems tech:
Why was it so easy for me to get set up with the first SVN server when I started my job (just install the plugin and find the repo through Eclipse's Repo Explorer), and why does this server require so much configuration? I assume there are multiple methods for gaining access to a SVN server, and this 2nd team just uses a more lengthy setup method?
Can someone give me a super-quick rundown of what each of these files are and what purpose they serve? And why I need to install them locally on my system?
Where should I install these files? The tech wanted me to put them in my ~/.subversion directory, but I never created one because they only SVN client I ever installed was Subversive (through Eclipse)
I tried creating a new repository for [svn.someserver.com] in Eclipse. I supplied my username and the cleartext password the tech sent me and now it is giving me a dialog stating I need to "Provide authentication information", asking for SSL settings, and specifically a File and a Passphrase for the Client Certificate...would the files he sent me suffice for this? If so, perhaps the answer to my question above just requires knowing which files to point Eclipse to, and I don't have to install these files anywhere
I usually don't like to ask multiple questions inside of one giant question, but these are all so similatrly in nature, I didn't want to clutter SO with too many closely-related questionss.
Thanks in advance for any help here!
Why was it so easy for me to get set up with the first SVN server when I started my job (just install the plugin and find the repo through Eclipse's Repo Explorer), and why does this server require so much configuration?
First server have less paranoid (if have any at all) security settings, second was configured by Real Admin. Client-certificate authorization is most bullet-proof method
Can someone give me a super-quick rundown of what each of these files
are and what purpose they serve? And why I need to install them
locally on my system?
foo.pem is your Personal S/MIME certificate, which used for client authentication, which you have storelocally and link with repo's server. atannon (I think) contain password for certificate privatekey, which will be asked (TBT) at first operation with repo (or with all, if you don't cache password)
Where should I install these files? The tech wanted me to put them in my ~/.subversion directory
For Windows, $HOME-dir (~ in Tux-world) is C:\Users\<Your Username>\ (Win7) or c:\Documents and Settings\<Your Username>\ (WinXP). You have to find inside this tree servers file (and remember it's location for future). In case of my XP (with TortoiseSVN only, no any Eclipse)
Directory of c:\Documents and Settings\Badger\Application Data\Subversion
30.06.2010 09:02 <DIR> auth
02.01.2012 19:11 6 712 config
30.06.2010 09:02 4 400 README.txt
30.06.2010 09:02 7 832 servers
"Provide authentication information", asking for SSL settings, and specifically a File and a Passphrase for the Client Certificate...would the files he sent me suffice for this?
Yes, pem-file is certificate in PKCS12-format, atannon (I hope) - contain password for it

Joomla installation of plug-ins

How & where to change fix upload permitions for joomla.
After installation of the plugin or module, i have no rights to edit file/directory.
thnx
You need to either enable the FTP layer and put in your username and password so that Joomla can create new directories with the proper permissions or you need to get a host that runs PHP as a CGI. The latter is preferable as the FTP layer is considered a security risk.
By default, Joomla will try to fix the permissions of files and directories during the install process, but it is not always successful depending on the server configuration. One of these 2 methods should fix your issue with future installs.

Deleting files on remote server

I have a PHP project in NetBeans with remote files (over sftp). When I create, modify anything these changes happening both locally and on my web server. However when I'm trying to delete a file or a folder it gets erased only locally. What could be the problem?
Permissions seems to be ok, all files belong to the user I'm using to access the server.
I'm using Netbeans 6.9.1, default configuration, all updates installed.
Netbeans does not have a synchronization function. It is limited to downloading and uploading files. What you can do is to use some external tool, for example WinSCP is capable of synchronizing local and remote directories.
I read what you wrote... but I think it could be a permissions problem.
I also use NetBeans and when I delete a file from the project window it first erase it locally and then syncs with my server.
I login through sftp (using vsftp) as root, which is a bad thing, but you could try this too to be sure if it's a permission issue.
You mistakenly turned off the settings. Please follow these steps:
Right click on the project name
Select properties
From the list of the left select 'Run configuration'
On the left almost down, look for the setting 'Upload files:'
Make sure you set that to 'On Save'
All the best man

Access a locked folder

Ok so my supervisor is currently testing something with Windows Permission Settings for folders, basically setting who can access it and who can't. He wants me to find out if I can get in, without permissions.
Basically checking how secure this method is to protect a folder from unwanted access.
So my question is, Is it possible to get into the folder without third party software?
Please note: I am NOT asking how to do this, just want to know if it is possible.
Since all file access is performed through Windows, Windows permissions will be respected for any attempt to access a file.
To access the file without using Windows, you could boot on a Linux CD, but I suppose that would qualify as "third party software" in your question.
If a user has sufficient permission on the parent folder, the user may be able to modify the permissions on the folder you're trying to protect. This would generally only be available to someone with an admin account.
Aside from the above caveats, the Windows Permissions settings are perfectly secure.