Joomla Database Problem - php

I am a beginner to Joomla, I have installed Joomla 1.5 in my server with Fantastico including sample data, also i have installed joomla in my local server. I Don't know how to upload this project from local to real server, when i completed my project , i have exported my database and import this Database in to real server after deleting all tables from real data base. But everyday this database data automatically changed to old sample data? I don't know how to fix this problem. Please any one help me!!!!!!!!

I've never used Fantastico to install Joomla, but:
To copy a Joomla installation from a server to another you'll need to:
Copy the content of your webroot (be careful about permissions)
Adjust the config parameters from the config.php or through the admin panel
Dump the database from the old website and import it into the new one.
My feeling is that you're trying to "install" Joomla again on the real server, and during the installation you're confirming the creation of the sample data (this will override the existing tables).
Are you sure you're using the right database name in your real server? Maybe you have two or more...

Related

Local Drupal site installation failure

I am trying to import a local drupal site from a git repository.
I am using Acquia Dev Desktop2.
I keep getting this error and I was hoping if anyone has experienced this before and has a solution:
Any help would be greatly appreciated.
It is a database issue. Are you importing a database? Check your settings.php file and ensure that they point to a valid database, then, if you don't need to have any data to start with I would suggest ensuring that the database is empty (no tables) and then do a site install via the UI or whatever.
If you are intending to import a database then it looks like the database you've got is corrupt or incomplete.

Save changes while migrating Suitecrm

Is it Possible to migrate SuiteCRM from one server to other without losing the changes in /custom and without exporting the existing Database i.e. I want to migrate SuiteCRM but the condition is that SuiteCRM should not lose any modifications done through studio or code and when installed in other server, it should contain all the changes made previously without exporting Database.
I think i have to make changes in install.php file of Suite.
Any help will be appreciated.

Running Wordpress repo locally through MAMP. Assets not being pulled in

Currently I am trying to run a Wordpress repo locally for development. I am not using MAMP pro even though I still have a 9 day trail. I figured since I'm going to be using the free version for now I might as well work with that. I have my Apache & MySQL server running along with the Document Root pointing to my Sites folder where my projectName repo sits. I'm still running off of the default port of Apache 8888.
After I start the servers, I open WebStart and import my DB into phpMyAdmin. Everything works perfectly fine and the copy of my db gets imported. I then make sure that my wp-config.php file has the appropriate settings to access this db. I then click on My Website. This pulls up the content of the website. However, it does not pull in any of the assets(imgs/js/css). I receive the following errors in the console:
Failed to load resource: net::ERR_EMPTY_RESPONSE http://projectName.dev/wp-content/uploads/2016/09/logo-footer-1.png
Failed to load resource: net::ERR_EMPTY_RESPONSE http://projectName.dev/wp-content/themes/projectName/images/circle.png
And so the list goes on and on for pretty much every asset the project could possibly have. Now configuration is NOT my strong suit, and at this point I am at a loss of what could possibly be happening. Awhile ago I did follow a tutorial on how to setup my files so that I can access them in the web browser by simply typing the name of the project with the domain .dev, example: projectName.dev. I started having issues with this after upgrading to OS Sierra and it no longer works. Could this possibly be the reason as to why it is looking for these assets in the projectName at the .dev domain?
I apologize if this does not make sense. I am willing to provide anyone with any information on this as I need as much help as possible because I still need to level up my configuration skills. Let me know if you have questions.
The images and other assets are referenced with an absolute filepath (i.e. the URL of the server on which you first set it up). This has to be changed in all database entries. There are tutorials for this on the net, but the most simple version is to open the sql file in an editor and search & replace the general URL part in the complete database.
Be sure to keep a backup of the file - that might not work on the first try...

Version Control WordPress Website with themes installed

Being new to Wordpress development ecosystem have few queries which I m stumbled upon currently.
Have installed wordpress and it was working as expected. Had installed a theme to the website recently to the local working copy. Also, added 2 more members to the team which was previously single person and thus made the code version controlled with bitbucket server repository.
Now, the issue is when the new developers cloned the remote repository to their local machine ( entire wordpress with installed theme ) is available. But its not working properly as the new pages/links/menus/images added are not reflecting for the other's local .
Would like to know the general thumbrules which needs to be followed while version controlling Wordpress. Is the added themes/additional code changed files etc. only need to be version controlled instead of the whole Wordpress files? In my scenario what would be the changes I need to do ( any files which I need to configure to get the latest repository code to run locally )
Would we need to version control the Wordpress including the Database?
Please advise.
Yes the main issue you have there is all the things you want are within the database. There are version control things for db but not sure how best they work... so you either export and share you db with them, or all work off a remote db from a server. You can change db credentials, including ip address etc in wp-config.
As for version control, I only save my theme in git and the wp-config etc etc... the bare minimum I can. Then I use composer https://getcomposer.org/ to pull in wordpress and make use of https://wpackagist.org/ to get plugins.
Roots did a nice introduction to composer and WordPress - where I started learning from and is worth a look: https://roots.io/using-composer-with-wordpress/

Drupal 7 - Migrate multisite setup to live server

So I have developed a drupal site long ago and now I wanted new site with same drupal 7. So I use multisite feature to develop new site. I have created it in staging server and now I want to migrate the setup to live server.
I follow following steps
Export the staging server database.
Download all the folders of drupal via FTP.
Create new database on live server.
Import staging server database to live server.
Change setting.php file with new database settings, base url and domain setting.
Change the domain name in database domain table to live.server.com
After performing this steps, I think it should run. But my guess is wrong. It gives me blank page. Even the strange thing is if I echo 'testing'; in /sites/new.domain.com/template/page--front.tpl.php its not reflecting the change.
What am I missing here? Any help will be appreciate.
Thanks in advance.
Jay Stepin.
1 - Check if you have all modules on live server
2 - Clear all cache in database , truncate all tables who begin by "cache" (you can use drush too : drush cc all)
3 - Use drush registry rebuild (drush rr)
4 - Use drush to see logs

Categories