Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #1174753

    This was from a presales thread that you must have abandoned. So I created an account and am posting here as a new thread

    The old version was 3.5.4 I used a suggested plugin to upgrade the site theme, then used the existing child as the main theme- it seemed to update ok – with the loss of some fonts, (will describe in another post). HOWEVER, we now have 404 Error pages on the updated site – If you care to look at the site pages to compare the URLs they are below – they appear to have and extra slug in the URL that is not on the existing site (Again this is a staging site).

    For example, if you look at the Products Range pages on the original and staging sites you will notice pages do come up on the original, but not on the newly updated themed staging site. Please advise on this issue, this seems to have something to do with Categories names and pages.

    #1174960

    Hey thetechpros,

    Could you please clear the cache, check again and get back to us.

    Best regards,
    Victoria

    #1175131

    did you click the picture under the product ranges page? or go from the home page – they work from the home page.

    I cleared cache and tried it on 3 separate computers and a phone no Joy please advise and use the links I sent please to go to the page we are having trouble with.

    #1175170

    Would you like login credentials? I need some help with this, please.
    let me know what email Victoria.
    Thanks

    #1175319

    Hi,
    I see that from the product ranges page all of the links are like this:
    /staging586/products-range/index.php/products-range/ballistic-plates/
    where they should be like the menu links:
    /staging586/products-range/ballistic-plates/
    Your live site also has the same links, but they still link correctly there, probably due the mod_rewrite in your .htaccess
    Please try going to your Permalink Settings and resave, if this doesn’t help please compare the .htaccess files of the two sites for an added mod_rewrite rule.
    If this doesn’t help, please include an admin login and ftp access in the private content area so we can be of more assistance.

    Best regards,
    Mike

    #1175630

    I reset permalinks as instructed online (save change, save change back then clear cache then check again – no joy
    I inspected the .htaccess of the original version of the working site – it is the same as the current staging site (see both below)
    I’ve included my credentials (as they are temporary) But make sure you are working on the staging area not the original site (other than to compare things)
    I also have another staging area made where I renamed the .htaccess-old, then saved the permalinks, then reset perm, then saved them and cleared cache and checked also no joy.

    Thank you for your offer to help!

    #1175742

    cpanel / ftp logins
    Again make changes in the staging areas
    I have tried a few more things
    – removed the theme from the folder and uploaded the theme from the recently downloaded folder – no joy.
    – I looked at the .php files until blue in the face – can’t see anything, I hope you can figure this out.

    #1176003

    Hi,
    Thanks for the logins, sorry for the late reply, this was tricky.
    So I found that your portfolio items for the category “homepage” which is used to show the items on your /products-range/ page are using the “link portfolio item to external URL” option, and the link begins with “index.php”
    removing that corrects the links and solves the 404:
    2020-01-19-074649
    I did “Ballistic Plates” for you to ensure this is the solution, please try correcting the others.

    Best regards,
    Mike

    #1176151

    Hi, your fix does not keep the URL on the staging area. In the non-staged, not-updated site the URLs resolve (somehow).

    So when I publish this back I’m not sure the fix will work. I’ve screenshot the hover over URL of the Balistic Plates box (look in the bottom left corner of the pic – I was hovering where the red X is) your “fix” points back to the non-staging area version of the site (not sure why) which I cannot publish to until the problem is certainly resolved.

    Remember on the original non-staged site all the links work! even though they are malformed URLs!

    I’m trying to do a workaround but I would like this to work as it does on the non-staged sited. It worked fine for many years – and still does URL wise, but the non-staged site does not function in the backend – it is broken as the version of your theme was very old. The staging version has the 4.7.1 version on it – is there a bug? New fix release out?

    Recommendations, please – I need this to be up and running as the customer needs to make product updates.

    #1176158

    I pushed it to live and now the main site is down. It made a backup but I don’t have access to it. It brings up a “There is a critical error on your website” with a link to troubleshoot. I don’t know what to do — can you help?

    #1176172

    I restored the install from before the push to live. I STILL have an error resolving the site!
    ==============================================================
    Forbidden
    You don’t have permission to access this resource.Server unable to read htaccess file, denying access to be safe

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
    ===============================================================
    And now it is worse.

    I have no wordpress access:

    Forbidden
    You don’t have permission to access this resource.Server unable to read htaccess file, denying access to be safe

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

    #1176265

    Hi,
    Glad to see that you live site is working, so reading your steps above seems that you tried to overwrite the theme files with the new version, this left old files behind from version 3.5.4 and caused the crash, also moving your staging site “.htaccess” file to your live site caused your other errors, each “.htaccess” & “wp-config.php” is unique to each site.
    To update your theme please follow these steps:

    The easiest and safest way to update is to download the newest version from Theme Forest and rename your current theme folder to “enfold-old” via ftp or your cPanel file manager then upload the new “enfold” folder and check that your site is working correctly.
    Should for some reason you wish to roll-back to the old version, it’s easy to do, simply rename the new “enfold” folder to “enfold-new” via ftp or your cPanel file manager and then rename “enfold-old” to “enfold” then refresh your page.
    Once you are happy you can delete the “enfold-old” folder via ftp or your cPanel file manager, (not the WP theme page)
    Please don’t try to overwrite the theme folder, as this will leave old files behind and cause errors.

    Perhaps removing the “index.php” from your links caused them to point to your live site, but this will be the correct step to take for your live site. For your staging site replacing the “index.php” in your links with “/staging586/” would have solved.

    Best regards,
    Mike

    #1176832

    I have successfully updated. However, your fix for the products range page (removing the index.php from the home page links) still results in a 404 error) Please advise – this is the live site I did not make a staged version. All credentials are the same.

    #1176856

    I’ve used a workaround re-creating the home page categories and labeling them Range – then pulling the product page table items from that category. This will cause any changes made to be made in both places. If you have a fix that would be great.

    #1176896

    I handed this off to the customer – do not log in and change anything unless I open this back-up.

    Thanks

    #1177136

    Hi,
    Very good, thanks for using Enfold.

    Best regards,
    Mike

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.