Trying to Configure phpmyadmin file on WAMP, can't save it - wordpress

I've read tons of pages saying I need to change phpmyAdmin for WAMP. Followed instructions and changed the file, but when I go to save it says "ACCESS DENIED". Apparently I don't have permission to save a file on my own computer.
Has anyone else had this same problem?

Without you being more specific about what you are doing it's hard to help, but my guess is you need to run whatever text editor you're using as Administrator.
Right click on a Notepad (or whatever text editor) and hit Run as Administrator, then hit Open and navigate to the file. It should allow you to save it that way.
Also it goes without saying you should turn WAMP server off before editing anything.

Related

I have a problem with the db_assembler. bash mysqladmin not found

even so I can access my sql database, seeing it running in my services and created the user acore with all rights I have this error when using db_assembler.
https://i.imgur.com/Xf51U0J.png
Then the window gets closed I configured the config.sh earlier but it didnt got me far. Thanks for the help.
Just ran into the same problem, and solved by editing the Path variable in Windows. The error is caused because the 'mysqladmin.exe' file is not being found by the AzCore installation script.
To fix it, you need to add the directory that file is found in (usually C:\Program Files\MySQL\MySQL Server 8.0\bin\ on a default install) to the Path variable. To do that, go to Advanced System Settings under System in the Control Panel, click the Environment Variables button, select Path from the list up the top, and click the Edit button. Then click New, add the path to the 'mysqladmin.exe' file, and OK out of there. You'll need to reboot, restart the MySQL Server service, and then retry the AzCore DB installation script.

cant get rscript to open in rstudio instead of web

I am supposed to access an rscript in my student account and save it but whenever I click on it instead of automatically opening rstudio it opens up in web browser as just texts.I cant figure how to get it to open in rstudio. can anyone help and explain why it won't open? I have to be save it as an rfile on my files but I cant since I cant get it there in the first place.
I would suggest save the file in your computer. Then open RStudio -> File -> Open File

Wordpress encoding issue after migrating to new server

We've switched server for one of my client's website from a CentOS CPanel to a other CentOS CPanel We encountered some irregularities with accents and single quote.
For some reason, some characters are displaying as it should and some are not :
wrong encoding on different sentences
I've tried to change DB_CHARSET to utf8 and I've also tried to change table collation without success.
Website was running great on former server. Everything is wrong since we've changed it.
One of the users has issues connecting to the site as his user group switch every now and then. I don't know if it could be related ?
Any help would be very appreciated.
Try this to Fix Character Problem in WordPress:
As you know that latest Wordpress defined DB_CHARSET and DB_COLLATE values in wp-config.php. Which is actually the main reason behind this issue. To fix this issue just comment those two lines in wp-config.php file.
Open wp-config.php file and locate below lines
define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ”);
Comment them out and Save that file. After commenting it should look like
//define('DB_CHARSET', 'utf8');
//define('DB_COLLATE', '');
Now upload the updated ‘wp-config.php’ file to your WebHost (overwriting the old one).
This character encoding problem can happen after a database upgrade too so it doesn’t hurt to keep this trick in your mind just in case.
You may experience an error when importing a WordPress .sql database from your old hosting to new.
So, Try again Export a .sql the database file manually via phpMyAdmin on your old host, then import the .sql to your new database. Try bellow steps;
Open phpMyAdmin & select your database
Click the "Export" tab for the database
Click the the "Custom" radio button - In the section titled "Format-specific options:", change the option for the "Database system or older MySQL server to maximize output compatibility with" from 'NONE' to 'MYSQL40'.
Scroll to the bottom and click "GO".
Now you should be able to import your .sql into phpMyAdmin in your control panel.
FYI, I've found the issue. It was server related.
I've checked the list of PHP extensions that were installed on my server and some were missing...
I don't have the exact list as there was a lot of them missing.
So, for those who have same issues, check your PHP version and extensions.

Wordpress File Uploader Error in Godaddy Managed WP Hosting

I am in a really interesting situation right now.
After migrating a client website from a development environment using, WP Clone by WP Academy, I get this error when trying to upload images via the Worpress media uploader.
“image.png” has failed to upload due to an error
Unable to create directory uploads/2015/07. Is its parent directory writable by the server?
I logged into Godaddy and change the entire uploads/ folder permission via ssh to 777 (crazy enough). And all its contents.
I still got the same error.
After probing a little deeper, I found out the website is running from a different location than the machine i am sshed into.
What do I mean?
When I run pwd via ssh, to see my current working directory I get.
-bash-4.2$ pwd
/home/clientname/html/wp-content/uploads
But In the Wordpress setting at, Settings -> Media
The option "store uploads in this folder" has a value of
/home4/d***71/public_html/website.url/wp-content/uploads
Meaning The site files are copied and hosted in a different location than that given via the SSH, This is probably due to the fact that Godaddy's managed wordpress hosting has some special cache setting configured beyond the control of the user.
The problem now is how do I correct the File Permission issue and have my uploads working properly.
:)
I am just adding this, if anyone ran into the same issue in future.
Log into your GoDaddy account.
Go to the Hosting page.
Click Manage
Select File Manager for the domain you want to edit the permission (this is, if you have multiple domains)
Navigate to the folder where you have installed the WordPress.
Hover on the 'wp-content' and you should able to see an arrow, click to see the option called 'Change Permissions'.
You should able to see all the Permission details in this window.
login into your godaddy panel and click file manager
click or open your project folder
locate upload folder and click on check box
click into the privacy icon and check inherit an SET ALL SUB FOLDERS TO INHERIT PERMISSIONS both checkboxes
The "Hover" didn't work for me. What DID work was to go to the directory above, put ONE check in a box for a DIRECTORY (not a file), and then click on "Privacy".
GoDaddy Permissions
If you check more than one folder, OR a file, you won't get the permissions eyeball to light up.
So, to fix a file permission you would have to go to the level above, and change "Set all subfolders to inherit permissions".
Apparently you can't change some files and not others - just the parent folder, which then sets all the files (is my guess).
This is NOT a limitation of Windows, it's the broken way they establish permissions.
Anyway - hopefully that will work. Tech support confirmed the drop down doesn't work anymore.
== John ==

Running ASP file directly on your browser without typing into url

I'm currently new to asp.
I have just started running ASP file and the problem is every time I run an ASP file I have to enter the Path through url in browser.
example : http://localhost/MyWeb/test.asp
Is there any quick way of testing the ASP pages on browser.
I have created a Test server in Adobe Dreamweaver and able to run ASP pages via Dreamweaver.
But I want to run ASP files just by double Clicking on it.
Is there any way to do that.
Thanks in advance.
What you ask for is not directly possible.
What you can do is write a batch file, call it for example "DisplayPage.bat" and with such code:
set str=%1
set str=%str:C:\inetpub\wwwroot=http://localhost/MyWeb%
set str=%str:\=/%
start IEXPLORE.EXE %str%
REM pause
This is assuming your root web folder is "C:\inetpub\wwwroot" if not change to your root folder path.
Now having this follow these steps:
Right click any .asp file and choose "Open with"
In the menu select "Choose default program..."
Browse to the batch file you created above and confirm. Tick the "Always use the selected program to run this kind of file" to make it permanent.
This will cause double clicking to open the clicked file in Internet Explorer, pointing to localhost.
The above steps are for Windows 7 but can be achieved easily for any OS.
If something goes wrong with the process you can remove the "REM" from the last line so the batch file pause and show what went wrong.
You can use includes
there are two types of includes File and Virtual read more at http://www.w3schools.com/asp/asp_incfiles.asp

Resources