Forum Replies Created

Viewing 15 replies - 1 through 15 (of 23 total)
  • Thread Starter danacs

    (@danacs)

    they are the exact errors I am getting on my end.
    when I disable all plugins the stripe one disappears but the other 2 still remain.

    my issue was I didn’t know what else to do to try find the issue but I believe i have sorted the problem now.
    Thanks for your help.

    Thread Starter danacs

    (@danacs)

    the site is https://www.albanycarstereo.com.au/shop/
    I don’t appear to have any other issues that I have noticed, only that the checkout won’t load.

    Thread Starter danacs

    (@danacs)

    Problem still exists with storefront theme & deactivated all plugins including on multisite network & the site itself.

    will the troubleshooting plugin help me further? or is that plugin just to make testing easier by disabling plugins etc & testing?

    Thread Starter danacs

    (@danacs)

    I tried to disable all plugins other than woocommerce & i tried it with twenty twenty-one theme & the problem was still there.

    Ill try it with the storefront theme & deactivate plugins again & see if that helps.
    Ill give the troubleshooting plugin a go, I didn’t know there was something like that available that would help.

    I am using a Child theme of clean commerce & it has previously been running fine for approx 2 years. Child theme is mostly style.css changes.
    Not sure if it makes a difference but I am running multisite (I tried deactivating plugins on all sites & network)

    thanks for your help.

    Thread Starter danacs

    (@danacs)

    I fixed it.
    Just incase anyone else has this issue here is what I found.

    I found this website that mentions to check the details in the WP_sitemeta in phpMyAdmin
    https://mycyberuniverse.com/wordpress-multisite-network-admin-menu-item-disappeared.html

    when i tried to access the WP_sitemeta it said it was corrupt & needed to be repaired.
    I used the repair function under phpMyAdmin & the problem was solved.

    Thread Starter danacs

    (@danacs)

    I done a bit of a search before posting and found it could be a ?> in the wp-config.
    I found it & removed it but it still did not work.

    I have found the problem now.

    I enabled the plain theme (that the child uses) and it worked

    I then found in my child theme functions.php i had a ?> at the end.
    I have removed the ?> & it works fine now.

    Thanks.

    Thread Starter danacs

    (@danacs)

    thats strange, it has always worked perfectly up to a week or 2 ago.

    do you know if there is a way to convert the wordpress installation to remove the old version stuff to prevent future issues if that makes sense? Without deleting everything & starting all over again?

    on the main site the file uploads to:
    /wp-content/uploads/2019/05/1.jpg (uploaded yesterday with new rule)
    /wp-content/uploads/2016/10/VW.jpg (uploaded 2016)
    actual file location on server is as above.

    /Shop page
    /shop/files/2019/05/n.jpg (uploaded yesterday with new rule)
    /shop/files/2019/01/u.png
    actual location: public_html/wp-content/blogs.dir/5/files/2019/month#/

    everything seems to be working as it should for now.

    Thread Starter danacs

    (@danacs)

    I don’t think it is a woocommerce issue, i have fixed the permalinks now.
    the issue with the images happens on 2 separate pages, one page with WC & the other page does not have WC but still has issues displaying images.

    with your code in the htaccess i have uploaded a file & it seems to work as normal.
    I can view old media & I can also view newly uploaded media
    I can also upload & view media to the main site.

    Everything seems to work as it should.
    I will monitor it over the next few days & let you know.

    thanks again for your help.

    Thread Starter danacs

    (@danacs)

    ok, i have now fixed the 404 error.
    it was some changes required in wordpress settings – permalink

    So with your above code above #uploads in .htaccess everything works perfect.

    You said not to upload any files with that rule?
    what would happen if i do?
    what do i need to do to keep the media working & be able to upload new files?

    Thread Starter danacs

    (@danacs)

    There is no /shop folder in public_html or anywhere else that i can find.

    The above code has worked for my images :O
    I now get images in media library & on shop subsite.

    I have now noticed another problem, the problem exists with & without the above code.
    If i click on products or categories in the shop page i get 404 errors.
    Using Woocommerce plugin, i wonder if it is a WC plugin issue?

    Thread Starter danacs

    (@danacs)

    yes, if i upload new images via the media library it can be found in wp-content/blogs_dir/5/files/2019/05

    i can view the images in the browser via mydomain.com/wp-content/blogs_dir/5/files/2019/05/image.***

    the site looks for the image in but will not display
    mydomain.com/shop/files/2019/05/image.***

    Thread Starter danacs

    (@danacs)

    ^ that is identical to my original .htaccess

    I have tried to upload new files after some changes from time to time & it will not display new uploads or pre-existing files.

    Thread Starter danacs

    (@danacs)

    Public html is in the root dir yes.

    is the site in this path?

    I do not understand what you mean?
    there are no site subfolders in root dir or public_html
    there is no “site5” folder.
    only /5/ in blogs.dir

    both of the above suggested codes did not work.

    I found how to check the site id.
    The site ID is 5
    so “site5” does belong to blogs.dir/5

    Thread Starter danacs

    (@danacs)

    Unfortunately this still did not work for me ??

    I tried your suggested .htacess code with:
    – RewriteBase /wp-contet/blogs_dir/5/
    – RewriteBase /blogs_dir/5/
    – RewriteBase /5/

    With the ” ?site5/files/ ”
    is “site5” how the sub site is identified? should this be the subdirectory name? (shop) ?
    if not how does the shop subdirectory know it is “site5” ?
    is it possible this has somehow been changed? and i need to change something so shop knows it is “site5”?

    Or will it be easier to move all of the image files to a different location?
    uploads?

    thanks for the help so far, i really appreciate it.

    Thread Starter danacs

    (@danacs)

    WP is in public_html with htacess

    Media Files are in
    public_html/wp-content/blogs.dir/
    Folders 2 3 4 5
    2 /files is empty
    3 /files is empty
    4 /files/201*/month seems to have files for my test subdirectory/subsite (Site is not used any more)
    5 has the files for the website i am working on at the moment (shop subsite)

    so are you saying i need to add the following to htacess for each subsite?

    
    RewriteBase /subdirectoryname/
    RewriteRule ^([_0-9a-zA-Z-]+/)?site2/files/(.+) wp-content/blogs.dir/5/files/$2 [L]

    site2 as subdirectory name? or site5 like the blogs.dir folder? or other?

    or

    
    RewriteBase /5/
    RewriteRule ^([_0-9a-zA-Z-]+/)?site5/files/(.+) wp-content/blogs.dir/5/files/$2 [L]

    ??

    Sorry but i really have no idea when it comes to htaccess files or fixing the issue.

Viewing 15 replies - 1 through 15 (of 23 total)