The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Fri Jul 20, 2012 10:00 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jul 20, 2012 9:17 am
Posts: 10
Location: Phnom Penh
Hi all, I'm having problems with my website by trying to display the content. First, I made that website in my PC (window 7), all features worked properly. Then I need to migrated it to run in server with CentOS as operating system, and that's when my problems occurred. After I installed the Joomla ver. 1.5, which is the same version as the one in my PC, I try to view the site. The thing is despite having around 20 articles in that Joomla, none of them is displayed on the webpage. Also, some plug-ins and components don't work. The things that work is module and some plug-ins. I'm sure that the "publish" option of my articles has been set to "yes", and the "enable" options of all plug-ins has been set to "tick".
Any idea guys?
???


Top
 Profile  
 
PostPosted: Fri Jul 20, 2012 12:21 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Aug 18, 2005 8:55 pm
Posts: 18143
Location: Nijmegen, The Netherlands
How did you copy your website to the CentOS server?

I'd recommend using Akeeba backup, create a backup (.jpa file),
put your backup (.jpa file) + Akeeba's kickstart.php in the webroot (where you want to install Joomla) on the CentOS server,
and run kickstart.php.

_________________
Kind Regards,
Peter Martin, Global Moderator - Community Leadership Team
http://www.db8.nl - Joomla specialist, Nijmegen, Nederland
Joomla 2.5 multilanguage in 10 steps: http://www.db8.nl/multilanguage-in-10-steps


Top
 Profile  
 
PostPosted: Mon Jul 23, 2012 8:18 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jul 20, 2012 9:17 am
Posts: 10
Location: Phnom Penh
pe7er, I copied my website to the server by using WinSCP.


Top
 Profile  
 
PostPosted: Tue Aug 07, 2012 8:22 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jul 20, 2012 9:17 am
Posts: 10
Location: Phnom Penh
the php version in my local PC is 5.3.5 and the apache is 2.2.17 while the php version in the server is 5.3.3 and the apache is 2.2.15. Is it because of the different version of php and apache?


Top
 Profile  
 
PostPosted: Tue Aug 07, 2012 8:45 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Aug 18, 2005 8:55 pm
Posts: 18143
Location: Nijmegen, The Netherlands
Different PHP / Apache versions should not matter, as long as they meet the requirements: http://www.joomla.org/technical-requirements.html

I didn't know "WinSCP", but Google told me it's FTP software ;)
How did you copy your MySQL database? using phpMyAdmin?

_________________
Kind Regards,
Peter Martin, Global Moderator - Community Leadership Team
http://www.db8.nl - Joomla specialist, Nijmegen, Nederland
Joomla 2.5 multilanguage in 10 steps: http://www.db8.nl/multilanguage-in-10-steps


Top
 Profile  
 
PostPosted: Tue Aug 07, 2012 9:08 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jul 20, 2012 9:17 am
Posts: 10
Location: Phnom Penh
yes, WinSCP is FTP software. Regarding to the MySQL database, I didn't use any software, I copied it via Linux command.


Top
 Profile  
 
PostPosted: Tue Aug 07, 2012 9:13 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Aug 18, 2005 8:55 pm
Posts: 18143
Location: Nijmegen, The Netherlands
Do you have phpMyAdmin?
Can you access your database and do you see your Joomla tables with data?

_________________
Kind Regards,
Peter Martin, Global Moderator - Community Leadership Team
http://www.db8.nl - Joomla specialist, Nijmegen, Nederland
Joomla 2.5 multilanguage in 10 steps: http://www.db8.nl/multilanguage-in-10-steps


Top
 Profile  
 
PostPosted: Tue Aug 07, 2012 9:19 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jul 20, 2012 9:17 am
Posts: 10
Location: Phnom Penh
I don't have phpMyadmin.
But I can access to my database via a software called "PuTTY" and I can see that there are tables with data as normal.


Top
 Profile  
 
PostPosted: Tue Aug 07, 2012 10:46 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Aug 18, 2005 8:55 pm
Posts: 18143
Location: Nijmegen, The Netherlands
yeah, but using SSH / Putty you won't use the Apache webserver to access the MySQL database.

When I installed my LAMP environment on my Arch Linux machine,
I had to install Apache / PHP / MySQL,
but also some PHP modules, a package called "php-apache"
and I had to edit some config files (e.g. add "LoadModule php5_module modules/libphp5.so" to /etc/httpd/conf/httpd.conf)

Maybe you could install phpMyAdmin to test if you can access the database from a webinterface installed on webserver.

_________________
Kind Regards,
Peter Martin, Global Moderator - Community Leadership Team
http://www.db8.nl - Joomla specialist, Nijmegen, Nederland
Joomla 2.5 multilanguage in 10 steps: http://www.db8.nl/multilanguage-in-10-steps


Top
 Profile  
 
PostPosted: Wed Aug 08, 2012 8:20 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jul 20, 2012 9:17 am
Posts: 10
Location: Phnom Penh
thanks for your advice, however, the thing is I don't think there's problem with Apache trying to access the database, since all of my modules work properly. Right now, for the contents, I can't view it directly in my site. But I still can view it by putting it in a module, such as mod_newsflash, and enable that module in my site. Also, some components work fine while some don't. Do you know what might be the possible causes?


Top
 Profile  
 
PostPosted: Wed Aug 08, 2012 9:00 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jul 20, 2012 9:17 am
Posts: 10
Location: Phnom Penh
I have checked both php setting in my localhost and server machine and I see that there are some differences between them. Do you think that should be the cause of the problem?

Attachment:
php in localhost.jpg

Attachment:
php in server.jpg


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Wed Aug 08, 2012 11:02 am 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5171
Location: the Bat Cave
pe7er wrote:
How did you copy your website to the CentOS server?

I'd recommend using Akeeba backup, create a backup (.jpa file),
put your backup (.jpa file) + Akeeba's kickstart.php in the webroot (where you want to install Joomla) on the CentOS server,
and run kickstart.php.


pe7er's original advice should work, just empty the site folder and the database and reuse it for the Akeeba install of your site.
You could try running the Post Assistant on your site to see if it finds any server issues.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 



Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group