Skip Navigation

[Resolved] [Urgent] Bad algorithm to find the wp-load.php file

This support ticket is created 7 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 4 replies, has 2 voices.

Last updated by Minesh 7 years, 6 months ago.

Assisted by: Minesh.

Author
Posts
#442341

The version 1.8.1 of Toolset CRED plugin, had changed how cred_find_wp_config_path() function work in "submit.php" file.

The new algorithm is broken when multiple WP installations are exist in the root directory for an example, the function had included another wp-load.php for another WP installation in one of my clients sites!.

The old version of the same function was working fine, but definitely, slow and could be broke if the WP installation is using a custom WP_CONTENT directory.

Finding the true wp-load.php file is hard, Why you don't use WordPress Ajax API?! ...

Please, review the changes, we need a hotfix update.

#442771

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Yes - I know how frustrating this as bug affected number installs. This is known issue to us and we reported to our developers.

Please hold on for further updates. I'll get in touch with you as soon as possible as I know more.

#442982

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

1)
Could you please share problem URL?

2)
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).

I have set the next reply to private which means only you and I have access to it.

#443342

Thank you Minesh,

I had already fix the bug in my site by replacing the cred_find_wp_config_path() function with the old version, however we still need a hotfix update.

Please, tell me if you need more info about the bug, I can't share the FTP details with you.

#443353

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

We have published hotfix, could you please try to resolve your issue and confirm it works for you:
=> https://toolset.com/errata/upload-fails-wordpress-installed-directory/

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.