Home Forums WoodMart support forum Files built by theme CSS Generators are not saved on localhost

Files built by theme CSS Generators are not saved on localhost

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #195848

    horny_fungus
    Participant

    Hi, when I hit generate file button it looks just as everything fine. I get the “New CSS file is generated and saved.” message but there’s no file in ulpoads folder actually.

    #195913

    Artem Temos
    Keymaster

    Hello,

    We have tested this on our side and it works correctly. Maybe you have some permissions problem for your files but we can’t check this while it is not on some accessible hosting.

    Kind Regards

    #195920

    horny_fungus
    Participant

    I understand. But can you please at least advice what should I check?

    #195926

    Artem Temos
    Keymaster

    Sorry, but we don’t know what the reason for this problem so we don’t have a general instruction for such check.

    #196043

    horny_fungus
    Participant

    I spent a lot of time moving to another local environment just to get the same results. So I suppose this is a bug if it’s not working with 2 different setups with default settings.

    #196052

    horny_fungus
    Participant

    There are no write permissions issues, media files are uploaded without problems. I suppose the issue is that CSS Generator has to connect to xtemos website and get result from there. How I can debug this process?

    #196057

    horny_fungus
    Participant

    'New CSS file is generated and saved.' message is shown by the way.

    #196060

    horny_fungus
    Participant

    Looks like this is due to DB migration issues. Despite defining uploads in wp-config there are some old path entries in DB. I have to investigate further.

    #196047

    Artem Temos
    Keymaster

    Are you able to check it on a real website where we can see this ourselves? We tested on a few local environments and it works correctly.

    #196209

    horny_fungus
    Participant

    I double checked all DB entries, fixed a few and CSS Generator is still not working, although media uploads work just fine.

    #196227

    horny_fungus
    Participant

    So I tried making a clean instal of WP with Woodmart and CSS Generator was working fine. Therefore it looks like the bug is coming from my database. Can you please advice what should I check?

    #196228

    horny_fungus
    Participant

    Finally I was able to solve the issue it was appearing as long as upload_path in wp_options had any value. On my live site it had full path like home/username/public_html etc., I changes it to proper path for local site, but it didn’t help. As soon as I earased this option value the bug was fixed.
    It’s rather strange considering other uploads were working fine.
    Can you please comment on this?

    #196275

    Artem Temos
    Keymaster

    Our theme uses core WordPress functions to retrieve the uploads folder path. So if it returns a wrong path then it is not a theme bug.

    #196292

    horny_fungus
    Participant

    Can you please point me the peice of code retrieving uploads path so I can test it to understand the issue better?

    #196312

    Artem Temos
    Keymaster

    In the file woodmart\inc\classes\Cssgenerator.php http://prntscr.com/sk7rds

Viewing 15 posts - 1 through 15 (of 15 total)