I am making changes on a website database I am developing using joomla 2.5 , but these changes are not reflected on the website.
I dumped the database and run it on the same version of the website locally and it is working very fine with the changes , I have only one database on the webserver so no doubt that I am changing on other database , when I changes the database password the website went down
I am installing my joomla web application on a godaddy webserver and I also cleared the cache to make sure that it is not the problem.
the changes are on a modules and also on the articles
Just out of curiosity, are you are you are editing the correct database? I only say this as I have a similar problem where I was registering test accounts on my site and couldn't see the rows being added to the database cause I was looking at the Wamp Server one, not the online one.
If noting what so ever is happening like you said, try changing the database table prefixes but do not update the config.php and see if this throws an error when you try and preview the site.
I think Database changes which you are making are module specific and they arte getting which you are re-initialized while accessing module through init function of module. You can change values over there also
Related
I had a WordPress website working just fine . I downloaded the WordPress website files from cPanel , the files are :
bunch of php files , and three folders
wp-admin
wp-content
wp-includes
I really need to see the website design and content
any ideas ?
In short, you cannot. Because you don't have everything you need for it. Wordpress utilizes a mySQL database to store the actual content of the website.
So the first thing you need to do is go and download your sql information. This is fairly straightforward, but can be a pain if you're not familiar with the tools.
For example: if you're using Cpanel on your webhost, go to "phpMyAdmin" and then click on the database that starts "wp_" (note, if you have multiple wordpress installs, you'll have to figure out which database is the one you're looking for. try looking in the options table of each database for a sitename.).
Once you've clicked the database, click on Operations, and then Export.
You'll be able to download a sql file from there that you can import into a sql database elsewhere in order to view it on your localhost. EllPro is right, using XAMPP or MAMP would allow you to do this. Same deal but in reverse to import the SQL information.
Problem is, now you need to go edit that database to tell it to point to the new location, which is more than I can just type out here.
Here's a link with a lot more information: https://wpengine.com/resources/migrate-wordpress-site/
I just migrated my website and it keeps rederection to another domainname of mine. Before I did this I open de SQL file and replaced the old domain with the new one. And imported it this in a new database. After that I configured the wp-admin. So after done this it should work right? In can access the website through wp-admin and that seems to work, but when I just type in the URL it rederection to another old domain of mine.
Anyone any idea how to fix this?
Seems like you missed some records in the database. The best approach is to use a tool like https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
If you download this free tool and upload to your server then it does a batch find-and-replace across every single table in your Wordpress database.
So, for example, replace http://www.example.com with http://sub.example.com
You can do a dry run and it will show you all the replaces that it will make. Once you're happy then click the "live run" button and all the changes are made.
I use this tool all the time when I am moving a site from my local machine to the live server. I also use the exact same approach when migrating a site from http to https
I want to run a project from a client locally for development for obvious reasons.
This is a Magento shop and I've made a copy of the /public folder and the database. Put the /public contents in a Homestead box and imported the database, as it should work just fine for other non-laravel projects which use PHP, MySQL etc, right?
I changed the secure and insecure URL's in the database config table and it seems to work mostly.
The only problem seems to be that when I go to sitename.app:8000/admin it opens the admin page, but when I log in, it redirects to sitename.nl/admin, so the live version..
How does this happen?
I seem to have fixed it already!
go to /public/var/cache and delete all the contents.
First load will be slow because it has to regenerate them but the links will now work as expected!
I have copied a WordPress application to a new hosting environment. The application has subdomains enabled, however our new hosting environment does not support this. I have updated .htaccess as well as wp-config.php to reflect the new URL and new database. I am unable to navigate through the site whatsoever. Going to wp-admin leads me to the classic error message:
Error establishing a database connection
If your site does not display, please contact the owner of this network. If you are the owner of this network please check that MySQL is running properly and all tables are error free.
Could not find site example.com. Searched for table wp_blogs in database wp. Is that right?
What do I do now? Read the bug report page. Some of the guidelines there may help you figure out what went wrong. If you’re still stuck with this message, then check that your database contains the following tables:
wp_users
wp_usermeta
wp_blogs
wp_signups
wp_site
wp_sitemeta
wp_registration_log
wp_blog_versions
I imagine this has something to do with the URL mappings in the database. Keep in mind, we are trying to switch from subdomains to subdirectories. What steps must I take to correct this in addition to switching over from subdomains?
There are a few things you need to do to switch from subdomain to subdirectory.
This forum topic should have most of the details needed: https://premium.wpmudev.org/forums/topic/reverting-from-subdomains-to-subdirectories-in-multistie
That said when migrating to a new host with multisite and getting the DB connectivity errors, what usually is the cause is the mismatch in the wp_blogs & wp_sites tables.
If you can manually edit those tables and correct at least your primary domain you should be able to get back in and correct the rest via the network admin.
Using Wordpress-Heroku and ran into some issues. Changed my app name from heroku's autogenerated name to something more descriptive, but /wp-admin gets redirected to the old name. Of course there's no such app anymore. Also tried to set up a local version but found that going to localhost:8888/wp-admin redirects me to app on heroku.
I guess that something in the installation process creates permalinks to the site address in the database. Is there a way to fix this without resetting the installation?
I change servers (copying live sites to localhost) fairly frequently following the Codex. While not on Heroku, I assume the process would be the same.
In your case, the Search and Replace for WordPress Databases Script mentioned should do the trick (after backing up the database, of course).
I assume you've updated your wp-config.php to point to the new database.