Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter antsthebul

    (@antsthebul)

    Thanks for your response, so it seems there no way to correct this. I guess this is not a bad error, just an unsual bug I noticec.

    Thread Starter antsthebul

    (@antsthebul)

    Final Update: So after reading this Difference between Site_URL and Home_URL and re-reading that article “giving wordpress its own directory” linked in the aboves posts, I conluded I am idiot LOL, and seemed to be mostly a battle against my own browsers cache, I think. I changed so much I lost track. I accessed the site in an icognito window and it was diplsayed fine.

    The way WP decided to name the addresses is confusing so after finally getting a handle on what the user enter(home address/home_url) vs where WP core files live(WP address/site_url) vs what WP refers to in the documentation as the “site”(wordpress site ie core file location), I then realized that my installation was done in a subdir intially, so all i had to so was move the 2 files from the subdir to my root (WP said from root to blog address, this was also confusing since i dont have a blog per se) andd change the site URL to what I wanted the users to see. All is well now. I just overly complicated things and once again, cache lead me down a dark path of insanity…. And of course the missing activation file..upload failed when copying dirs so, that was fixed as well. Its definitely there and should be if its a validated theme

    • This reply was modified 5 years, 3 months ago by antsthebul.
    Thread Starter antsthebul

    (@antsthebul)

    Update: According to my server’s dir structure above, I left the wordpress/ dir but changed the name to backup/. Now accessing backup/ , I added the 2 define functions that will point WP_HOME and WP_SITEURL to this dir according to Changing the site, so both function calls getting the path of ‘tonytuned.us/<backup_dir>’ inside the backup/wp_config.php file. Now my site is back up and working, but works only if the URL is the same as what is specified in the backup/wp_config.php, obviously. So I’m wondering why this wont work when the domain specified is simply “tonytuned.us” ,with all of the core files being inside public_html/, the public_html/wp_config being correctly changed, and the error given is saying that the

    Warning: require_once(/home/sites/14a/f/fdc70d3d08/public_html/wp-content/themes/pro/framework/functions/updates/class-tgm-plugin-activation.php): failed to open stream: No such file or directory in /home/sites/14a/f/fdc70d3d08/public_html/wp-content/themes/pro/functions.php on line 213

    Fatal error: require_once(): Failed opening required ‘/home/sites/14a/f/fdc70d3d08/public_html/wp-content/themes/pro/framework/functions/updates/class-tgm-plugin-activation.php’ (include_path=’.:/usr/share/pear’) in /home/sites/14a/f/fdc70d3d08/public_html/wp-content/themes/pro/functions.php on line 213

    . Even in the backup (backup/wp-content/themes/pro/framework/functions/updates) this file class-tgm-plugin-activation.phpdoes not even exist. Sorry if my post is confusing. But it seems somewhere WP is getting informed that theme is “activated”, when using the URL tonytuned.us/backup and its not from this plugin activation file.

    • This reply was modified 5 years, 3 months ago by antsthebul.
    • This reply was modified 5 years, 3 months ago by antsthebul.
    • This reply was modified 5 years, 3 months ago by antsthebul.
    Thread Starter antsthebul

    (@antsthebul)

    I had previously followed those instructions for “Changing The Site URL”. I thought those methods made it so the directories did not need to be moved on the same server. Either way, I did try moving all directories to the public_html/ but now the site does not work at all(public view or to login), I am diplayed a “critical error” and the “debugging in wordpress link”. I added the code to wp_config.php(directing to the new location of the core files) and even commented it out just to make sure, and I still cannot log in to the dashboard. I changed debug to ‘true’ and the error is “file found: path/to/class-tgm-plugin-activation.php”. I checked my backup and this file is not even there in my backup file. Im using the Pro theme from themeco.

    I did find out my site is hosted on a shared hosting package which is why the name was “mangled” in the beginning (tonytuned-us.stackstaging.com/wordpress), and probably is reason why files are served from the public_html dir. To maybe clarify what the intention was mentioned in the 1st post. Thank you for your help

    • This reply was modified 5 years, 3 months ago by antsthebul.
    • This reply was modified 5 years, 3 months ago by antsthebul.
Viewing 4 replies - 1 through 4 (of 4 total)