Git Product home page Git Product logo

Comments (13)

0E800 avatar 0E800 commented on July 30, 2024

After you installed the extension did you run¿:

php flarum cache:clear

On the device with the browser error, did you do a CTRL F5 refresh?

from upload.

luceos avatar luceos commented on July 30, 2024

While I'm at it, can you comment if it flagrow/upload it compatible with the query this tool is doing, and also if it would be feasible to use it to import other attachments, different from images? Here's the code section pertaining attachments

It seems to work only with flagrow/flarum-ext-image-upload, not this extension. With some modification the script could however work with this extension and migrate all files, not just images.

Related to the rest, see the question @0E800 asks.

from upload.

acseven avatar acseven commented on July 30, 2024

Hi,
I did run php flarum cache:clear and made sure local caching wasn't an issue (private nav browser and different browser).

Right after activation:
scrn0

When trying to accessing the forum itself directly:
scrn1

It seems to work only with flagrow/flarum-ext-image-upload, not this extension. With some modification the script could however work with this extension and migrate all files, not just images.

Thanks for the input, I'll have a look at the script to see if I can make something out of it. I wasn't being able to install flagrow/flarum-ext-image-upload yesterday though, there was something about minimum versions and it wouldn't start, which it now did.

from upload.

luceos avatar luceos commented on July 30, 2024

Do you use cloudflare? If so flush that cache too.

from upload.

acseven avatar acseven commented on July 30, 2024

Do you use cloudflare? If so flush that cache too.

I do and I did purge its cache (and enabled dev mode), no difference though.

from upload.

luceos avatar luceos commented on July 30, 2024

Very weird are you able to provide the url or can you take a look at the webdeveloper console and your error log for your site?

from upload.

acseven avatar acseven commented on July 30, 2024

How can I produce an error log related to this? The main error log doesn't contain anything related to it.

from upload.

acseven avatar acseven commented on July 30, 2024

Note: enabling 'debug' => true in config.php is making it run properly, but no errors are produced though. I'm looking at the console but nothing seems to ring a bell.

from upload.

luceos avatar luceos commented on July 30, 2024

If you disable debug again, does it work then?

from upload.

luceos avatar luceos commented on July 30, 2024

And what OS are you on? PHP version?

from upload.

acseven avatar acseven commented on July 30, 2024

If you disable debug again, does it work then?

Actually, yes, it does work after setting debug to false.

And what OS are you on? PHP version?

LiteSpeed V6.10
PHP 7.1.2

from upload.

luceos avatar luceos commented on July 30, 2024

There are some things that debug mode does. Like flushing caches etc. It's the first time I've heard such an issue to continue past a cache:clear etc however.. Perhaps your permissions are wrong for the asset files or the cache directory.. If I'm not mistaken Flarum will not throw an error if it can't delete a cache file (js, css etc).

from upload.

acseven avatar acseven commented on July 30, 2024

Ok, thanks for the help in any case. The debug info is useful for the time being.

from upload.

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.