FTP credentials

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

FTP credentials

Postby a14alley » 09. January 2019 22:49

Hello,

I have tried moving over files while updating XAMPP, the sites are kinda all messed up so i'm trying to start a new wordpress and import data through it. Whatever i do be it a theme or plugin it either fails to download or FTP credentials pops up.

I have changed the permissions on the folder to read&write as well as adding define( 'FS_METHOD', 'direct' ); to the config file.....

I'm at a loss now and gutted i attempted to update as i've ruined everything
a14alley
 
Posts: 4
Joined: 09. January 2019 19:57
XAMPP version: 7.3.0
Operating System: OS High Sierra

Re: FTP credentials

Postby a14alley » 09. January 2019 23:11

With updating my old wordpress files i've had this::::


Downloading update from https://downloads.wordpress.org/release/wordpress-5.0.3-new-bundled.zip…

Unpacking the update…

Verifying the unpacked files…

Preparing to install the latest version…

The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.: wp-login.php, wp-settings.php, wp-includes/l10n.php, wp-includes/images/spinner.gif, wp-includes/images/spinner-2x.gif, wp-includes/images/smilies/icon_rolleyes.gif, wp-includes/images/smilies/icon_lol.gif, wp-includes/images/smilies/icon_redface.gif, wp-includes/images/smilies/icon_evil.gif, wp-includes/images/smilies/icon_cry.gif, wp-includes/images/wpspin-2x.gif, wp-includes/images/wpspin.gif, wp-includes/class-wp-comment-query.php, wp-includes/media-template.php, wp-includes/default-filters.php, wp-includes/embed.php, wp-includes/css/admin-bar.min.css, wp-includes/css/editor.min.css, wp-includes/css/admin-bar-rtl.min.css, wp-includes/css/media-views.min.css, wp-includes/css/customize-preview.css, wp-includes/css/editor.css, wp-includes/css/wp-embed-template.min.css, wp-includes/css/customize-preview-rtl.css, wp-includes/css/jquery-ui-dialog-rtl.min.css, wp-includes/css/media-views-rtl.css, wp-includes/css/customize-preview-rtl.min.css, wp-includes/css/jquery-ui-dialog.css, wp-includes/css/media-views-rtl.min.css, wp-includes/css/jquery-ui-dialog.min.css, wp-includes/css/wp-pointer-rtl.min.css, wp-includes/css/buttons-rtl.css, wp-includes/css/buttons.css, wp-includes/css/media-views.css, wp-includes/css/jquery-ui-dialog-rtl.css, wp-includes/css/editor-rtl.css, wp-includes/css/wp-auth-check-rtl.min.css, wp-includes/css/editor-rtl.min.css, wp-includes/css/customize-preview.min.css, wp-includes/css/buttons-rtl.min.css, wp-includes/css/wp-pointer.min.css, wp-includes/css/wp-auth-check.min.css, wp-includes/css/wp-auth-check.css, wp-includes/css/wp-auth-check-rtl.css, wp-includes/css/wp-embed-template.css, wp-includes/css/buttons.min.css, wp-includes/class-wp-theme.php, wp-includes/script-loader.php, wp-includes/class-wp-customize-widgets.php, wp-includes/class-wp-editor.php, wp-includes/meta.php, wp-includes/taxonomy.php, wp-includes/rest-api.php, wp-includes/nav-menu.php, wp-includes/user.php, wp-includes/class-wp-customize-manager.php, wp-includes/class-walker-category.php, wp-includes/query.php, wp-includes/kses.php, wp-includes/category-template.php, wp-includes/class-wp-site-query.php, wp-includes/general-template.php, wp-includes/default-constants.php, wp-includes/customize/class-wp-customize-new-menu-control.php, wp-includes/customize/class-wp-customize-new-menu-section.php, wp-includes/deprecated.php, wp-includes/class-wp-oembed-controller.php, wp-includes/comment.php, wp-includes/class-wp-network-query.php, wp-includes/class-oembed.php, wp-includes/post-thumbnail-template.php, wp-includes/capabilities.php, wp-includes/version.php, wp-includes/functions.php, wp-includes/author-template.php, wp-includes/pluggable.php, wp-includes/class.wp-scripts.php, wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php, wp-includes/rest-api/endpoints/class-wp-rest-controller.php, wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php, wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php, wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php, wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php, wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php, wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php, wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php, wp-includes/rest-api/fields/class-wp-rest-meta-fields.php, wp-includes/post.php, wp-includes/class-wp-query.php, wp-includes/load.php, wp-includes/comment-template.php, wp-includes/admin-bar.php, wp-includes/class-wp-dependency.php, wp-includes/js/media-grid.js, wp-includes/js/media-audiovideo.js, wp-includes/js/media-grid.min.js, wp-includes/js/wplink.js, wp-includes/js/media-models.js, wp-includes/js/heartbeat.js, wp-includes/js/media-views.js, wp-includes/js/wp-api.js, wp-includes/js/tinymce/wp-tinymce.js.gz, wp-includes/js/tinymce/skins/lightgray/skin.min.css, wp-includes/js/tinymce/plugins/wordpress/plugin.min.js, wp-includes/js/tinymce/plugins/wordpress/plugin.js, wp-includes/js/media-models.min.js, wp-includes/js/heartbeat.min.js, wp-includes/js/api-request.js, wp-includes/js/mediaelement/wp-mediaelement.min.css, wp-includes/js/media-audiovideo.min.js, wp-includes/js/media-views.min.js, wp-includes/js/wp-api.min.js, wp-includes/js/wplink.min.js, wp-includes/js/api-request.min.js, wp-includes/widgets.php, wp-includes/wp-db.php, wp-includes/formatting.php, wp-includes/post-template.php, wp-includes/theme.php, wp-includes/class-wp-text-diff-renderer-table.php, wp-includes/class-wp-locale-switcher.php, wp-includes/functions.wp-scripts.php, wp-includes/class-wp-xmlrpc-server.php, wp-admin/images/resize-rtl.gif, wp-admin/images/spinner.gif, wp-admin/images/wpspin_light-2x.gif, wp-admin/images/spinner-2x.gif, wp-admin/images/resize.gif, wp-admin/images/loading.gif, wp-admin/images/bubble_bg-2x.gif, wp-admin/images/wpspin_light.gif, wp-admin/images/resize-2x.gif, wp-admin/images/resize-rtl-2x.gif, wp-admin/edit-form-comment.php, wp-admin/css/code-editor.css, wp-admin/css/about.css, wp-admin/css/media-rtl.css, wp-admin/css/list-tables-rtl.css, wp-admin/css/color-picker.css, wp-admin/css/list-tables-rtl.min.css, wp-admin/css/nav-menus.min.css, wp-admin/css/themes.css, wp-admin/css/login-rtl.min.css, wp-admin/css/revisions.css, wp-admin/css/forms.css, wp-admin/css/common-rtl.min.css, wp-admin/css/media-rtl.min.css, wp-admin/css/list-tables.css, wp-admin/css/ie.min.css, wp-admin/css/edit.css, wp-admin/css/nav-menus-rtl.min.css, wp-admin/css/edit-rtl.min.css, wp-admin/css/revisions-rtl.css, wp-admin/css/media.min.css, wp-admin/css/widgets.min.css, wp-admin/css/customize-controls.css, wp-admin/css/customize-controls-rtl.css, wp-admin/css/themes-rtl.css, wp-admin/css/about-rtl.min.css, wp-admin/css/common.css, wp-admin/css/ie-rtl.min.css, wp-admin/css/edit.min.css, wp-admin/css/color-picker-rtl.min.css, wp-admin/css/code-editor-rtl.min.css, wp-admin/css/code-editor-rtl.css, wp-admin/css/customize-nav-menus.min.css, wp-admin/css/admin-menu.css, wp-admin/css/dashboard-rtl.css, wp-admin/css/deprecated-media-rtl.min.css, wp-admin/css/dashboard-rtl.min.css, wp-admin/css/revisions-rtl.min.css, wp-admin/css/customize-nav-menus-rtl.min.css, wp-admin/css/colors/blue/colors-rtl.min.css, wp-admin/css/colors/blue/colors.min.css, wp-admin/css/colors/light/colors-rtl.min.css, wp-admin/css/colors/light/colors.min.css, wp-admin/css/deprecated-media.min.css, wp-admin/css/install.min.css, wp-admin/css/themes.min.css, wp-admin/css/edit-rtl.css, wp-admin/css/color-picker-rtl.css, wp-admin/css/customize-controls.min.css, wp-admin/css/admin-menu-rtl.min.css, wp-admin/css/dashboard.min.css, wp-admin/css/media.css, wp-admin/css/widgets-rtl.css, wp-admin/css/install-rtl.min.css, wp-admin/css/l10n.min.css, wp-admin/css/admin-menu-rtl.css, wp-admin/css/code-editor.min.css, wp-admin/css/customize-widgets.min.css, wp-admin/css/admin-menu.min.css, wp-admin/css/common.min.css, wp-admin/css/about-rtl.css, wp-admin/css/about.min.css, wp-admin/css/list-tables.min.css, wp-admin/css/widgets.css, wp-admin/css/revisions.min.css, wp-admin/css/l10n-rtl.min.css, wp-admin/css/dashboard.css, wp-admin/css/widgets-rtl.min.css, wp-admin/css/forms.min.css, wp-admin/css/common-rtl.css, wp-admin/css/forms-rtl.min.css, wp-admin/css/login.min.css, wp-admin/css/themes-rtl.min.css, wp-admin/css/customize-controls-rtl.min.css, wp-admin/css/forms-rtl.css, wp-admin/css/customize-widgets-rtl.min.css, wp-admin/css/color-picker.min.css, wp-admin/about.php, wp-admin/edit.php, wp-admin/nav-menus.php, wp-admin/load-scripts.php, wp-admin/index.php, wp-admin/includes/admin-filters.php, wp-admin/includes/class-wp-posts-list-table.php, wp-admin/includes/upgrade.php, wp-admin/includes/class-wp-screen.php, wp-admin/includes/meta-boxes.php, wp-admin/includes/image.php, wp-admin/includes/class-wp-plugin-install-list-table.php, wp-admin/includes/class-ftp.php, wp-admin/includes/ajax-actions.php, wp-admin/includes/misc.php, wp-admin/includes/plugin-install.php, wp-admin/includes/plugin.php, wp-admin/includes/dashboard.php, wp-admin/includes/post.php, wp-admin/includes/class-wp-theme-install-list-table.php, wp-admin/includes/template.php, wp-admin/credits.php, wp-admin/post.php, wp-admin/edit-link-form.php, wp-admin/edit-form-advanced.php, wp-admin/plugins.php, wp-admin/freedoms.php, wp-admin/admin-ajax.php, wp-admin/js/dashboard.js, wp-admin/js/dashboard.min.js, wp-admin/js/customize-nav-menus.js, wp-admin/admin-header.php, wp-admin/post-new.php

Installation Failed
a14alley
 
Posts: 4
Joined: 09. January 2019 19:57
XAMPP version: 7.3.0
Operating System: OS High Sierra

Re: FTP credentials

Postby roadparc » 09. March 2019 14:09

I use the XAMPP version: XAMPP-VM / PHP 7.1.26 and this is how I solved this problem:

The FTP Credentials for the new Xampp Versions are:

daemon
xampp

When WordPress asks you for the credentials you have to put the IP of your XAMPP server which you can find in the Stack Manager Launcher, and the credentials above.

Also you will have to change the permissions for your WordPress installation directory.
Open terminal from your XAMPP Stack manager launcher and type the following command:

sudo chown -R daemon:staff /opt/lampp/htdocs/YourWP

Changing "YourWP" for the name of your WordPress directory.

If the credentials don't work try a password reset by typing the following command in terminal:
/opt/lampp/lampp security

Hope it helps
roadparc
 
Posts: 2
Joined: 09. March 2019 13:58
XAMPP version: XAMPP-VM / PHP 7.1.26
Operating System: MAC OS

Re: FTP credentials

Postby roadparc » 10. March 2019 14:51

roadparc wrote:I use the XAMPP version: XAMPP-VM / PHP 7.1.26 and this is how I solved this problem:

The FTP Credentials for the new Xampp Versions are:

daemon
xampp

When WordPress asks you for the credentials you have to put the IP of your XAMPP server which you can find in the Stack Manager Launcher, and the credentials above.

Also you will have to change the permissions for your WordPress installation directory.
Open terminal from your XAMPP Stack manager launcher and type the following command:

sudo chown -R daemon:staff /opt/lampp/htdocs/YourWP

Changing "YourWP" for the name of your WordPress directory.

If the credentials don't work try a password reset by typing the following command in terminal:
/opt/lampp/lampp security

Hope it helps


I found a problem changing the owner of the folder and it is that you won't be able to do changes when mounting the folder in Finder.
Instead the solution would be changing only the group and give permissions to the daemon group:

sudo chown -R bitnami:daemon /opt/lampp/htdocs/YourWP
sudo chmod -R g+rwx /opt/lampp/htdocs/YourWP

Changing "YourWP" for the name of your WordPress directory.

The first command changes the group for the folder and its content.
The second command gives read, write and execute permissions for the group.

.
roadparc
 
Posts: 2
Joined: 09. March 2019 13:58
XAMPP version: XAMPP-VM / PHP 7.1.26
Operating System: MAC OS


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 2 guests