Giter Club home page Giter Club logo

Comments (21)

 avatar commented on July 18, 2024

Can you check error.log ?

from unyson-backups-extension.

2Fwebd avatar 2Fwebd commented on July 18, 2024

I've checked the debug.log and indeed that was an issue in our database table ...
It didn't stopped since 40 minutes so I guess that'll work out that time ;)

I keep you updated

from unyson-backups-extension.

 avatar commented on July 18, 2024

Can you share what exactly is the problem in database?

from unyson-backups-extension.

2Fwebd avatar 2Fwebd commented on July 18, 2024

Still the same issue and all the logs are empty :/

It was an issue with a table creation SQL query from one of the extension. But even when the error is gone, it's not working.

Any idea ? Let me know if you need anything.

from unyson-backups-extension.

 avatar commented on July 18, 2024

I have no idea, only an error, but you say the error log shows nothing.

I need access to your site and code (moldcraft[at]email.com), or a way to reproduce the problem on my side.

from unyson-backups-extension.

2Fwebd avatar 2Fwebd commented on July 18, 2024

Sent ;)

from unyson-backups-extension.

 avatar commented on July 18, 2024

I added here

. ((int)ini_get('max_execution_time'))
// or: . self::backups()->get_timeout()

and it shows

I think that 0 is the problem (haven't tested and can't say for sure).

Where do you have set_time_limit(0) and why it was set/needed?

from unyson-backups-extension.

2Fwebd avatar 2Fwebd commented on July 18, 2024

Thanks for the digging, absolutely no idea ....Where can I check that ?

from unyson-backups-extension.

 avatar commented on July 18, 2024

In my PhpStorm IDE I can search in all files, but via FTP I can't do that.
Try to zip the entire project from cPanel file manager, download the zip, extract it and use an IDE to search in all files for set_time_limit string.

from unyson-backups-extension.

2Fwebd avatar 2Fwebd commented on July 18, 2024

Ok, I'll do that, I keep you updated ;)

from unyson-backups-extension.

2Fwebd avatar 2Fwebd commented on July 18, 2024

Hi there,

You're right, the issue was the set_time_limit(0)

It's in both Woocommerce & Learndash. I deactivated both plugins and it's working just fine ;)

from unyson-backups-extension.

 avatar commented on July 18, 2024

TODO: Handle cases when timeout is set to 0 (display warning or treat the case in code)

from unyson-backups-extension.

2Fwebd avatar 2Fwebd commented on July 18, 2024

Actually, it works just fine with Woocommerce. So it's caused by the set_time_limit(0) from Learndash plugin.

from unyson-backups-extension.

praveenrchauhan avatar praveenrchauhan commented on July 18, 2024

I also faced the same issue while installing the demo content. After reading the above threads, it seems some conflict because of the time limit. Even in my case, I have LearnDash plugin installed. So, I just deactivated it, installed demo content and then reactivated. By this way it worked.

@moldcraft , can a fix or hook (to allow code tweak) be added from your end in this backup extension, so that one can do some changes for the time limit to get rid of this issue at least for time being (unless you figure out a proper solution)?

from unyson-backups-extension.

 avatar commented on July 18, 2024

I'll just add a fix soon, no need for hooks.

from unyson-backups-extension.

praveenrchauhan avatar praveenrchauhan commented on July 18, 2024

That sounds good.

from unyson-backups-extension.

Eynsteyn avatar Eynsteyn commented on July 18, 2024

Hi, i have still the same issue

I added . ((int)ini_get('max_execution_time')) in a file \wp-content\plugins\unyson\framework\extensions\backups\includes\module\tasks\class--fw-ext-backups-module-tasks.php

screenshot

error.log is empty
Any ideas?

from unyson-backups-extension.

 avatar commented on July 18, 2024

error.log is empty

Maybe your error.log is not working (like on most hostings). Try to this to get some error messages.

from unyson-backups-extension.

Eynsteyn avatar Eynsteyn commented on July 18, 2024

I mean that in error.log file was no errors related to this issue.

from unyson-backups-extension.

 avatar commented on July 18, 2024

Can you give me admin/ftp access to your site? If yes, send the details to moldcraft[at]email.com

from unyson-backups-extension.

Eynsteyn avatar Eynsteyn commented on July 18, 2024

I copied the whole site and the database itself on the local server, and the error was gone.
Import and Export work again.
The problem in our server.
Thanks

from unyson-backups-extension.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.