Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Atahualpa not working after MySQL database change (http://forum.bytesforall.com/showthread.php?t=12556)

foia65 Jan 31, 2011 03:18 PM

Atahualpa not working after MySQL database change
 
Hi everybody,

First of all my thanks for the wonderful theme :)

I have recently upgraded my hosting from free to paid plan; as a consequence, they moved my site to another server. This had no URL impacts, but it implied a change of MySQL database. Therefore, I have changed this detail in WP configuration file. So far, so good.

The problem is that after this change Atahualpa stopped working properly: my site now only shows the sidebars and widgets areas. No header, and no central column are there :(
If I switch to TwentiTen theme everything works fine.

Any idea about a solution?
Thanks in advance,
Francesco

lmilesw Jan 31, 2011 03:39 PM

Try going to the different areas of the theme options and clicking on the big green save button. Just be careful not to hit either of the reset buttons. I have had this work for a similar problem in the past. When you are going through the various options see if the code you see all looks correct as well.

juggledad Jan 31, 2011 03:50 PM

wht version of Atahualpa and WP?
What version of MySQL?
Do you have a database backup?

foia65 Jan 31, 2011 03:58 PM

Quote:

Originally Posted by lmilesw (Post 56493)
Try going to the different areas of the theme options and clicking on the big green save button. Just be careful not to hit either of the reset buttons. I have had this work for a similar problem in the past. When you are going through the various options see if the code you see all looks correct as well.

I tried that but didn't work.
It seems that the options I originally set are still there, thought...

foia65 Jan 31, 2011 04:02 PM

Quote:

Originally Posted by juggledad (Post 56495)
wht version of Atahualpa and WP?
What version of MySQL?
Do you have a database backup?

Atahualpa 3.6.1
WP Version 3.0.4
MySQL 5.1
Yes, I do have a recent Database backup

juggledad Jan 31, 2011 06:13 PM

what is the url?

Was 361 working prior to the change?

foia65 Jan 31, 2011 11:21 PM

Quote:

Originally Posted by juggledad (Post 56512)
what is the url?

Was 361 working prior to the change?

Yes, it was working perfectly.

foia65 Feb 1, 2011 01:48 AM

1 Attachment(s)
After exporting my settings (that are still the good ones) I have tried deleting and reinstalling the theme. The result is still the same, with or without my settings. I have also given a try to 3.6.4 without success.
The url is http://foia.sportsontheweb.net/ but now I have put back Twenty Ten theme to have something viewable.
I attach an html file of my home page generated by Atahualpa

Thanks again for your help.

juggledad Feb 1, 2011 03:27 AM

please do the following. Add the following to ato->Style & edit CENTER COLUMN->Content ABOVE the LOOP as the very first line
HTML Code:

<?php if (is_user_logged_in()) { echo phpinfo(); } ?>
then login to your site and activate Atahualpa and visit the site. You will see a dump of the phpinfo in the center area. Make a copy of the source and attach it to a reply.
remove the code and reactivate twenty-ten

foia65 Feb 1, 2011 03:54 AM

Quote:

Originally Posted by juggledad (Post 56548)
please do the following. Add the following to ato->Style & edit CENTER COLUMN->Content ABOVE the LOOP as the very first line
HTML Code:

<?php if (is_user_logged_in()) { echo phpinfo(); } ?>
then login to your site and activate Atahualpa and visit the site. You will see a dump of the phpinfo in the center area. Make a copy of the source and attach it to a reply.
remove the code and reactivate twenty-ten

I have done as instructed, but I can't see nothing in the central area.
Just to be sure I have done the change right, I attached a picture of my settings: is that ok?

juggledad Feb 1, 2011 04:07 AM

Yes that is correct. well change it to just
HTML Code:

<?php echo phpinfo(); ?>
run the test, then take it out

If you put it as the last line of 'Content BELOW the LOOP' then it would be at the bottom of the page and people might not see it.

foia65 Feb 1, 2011 04:21 AM

Quote:

Originally Posted by juggledad (Post 56558)
Yes that is correct. well change it to just
HTML Code:

<?php echo phpinfo(); ?>
run the test, then take it out

If you put it as the last line of 'Content BELOW the LOOP' then it would be at the bottom of the page and people might not see it.

Nothing :(
I tried to put the code above, below and even IN the loop, but the central column is still desert....

juggledad Feb 1, 2011 04:54 AM

very weird - oh I wonder if that is why nothing is showing up. I'll bet there is a php setting sending echo's to a different location than the screen. The theme uses lots of echo;s to send HTML to the output! let me look at the php manual...

juggledad Feb 1, 2011 05:11 AM

try this. create a text file called 'phpinfo.php' and add the following to it
HTML Code:

<?php
if (! ($xmlparser = xml_parser_create()) )
{
  die ("Cannot create parser");
}
echo 'before phpinfo<br>';
phpinfo();
echo 'after phpinfo<br>';
 ?>

upload it to yout host. If you put it in the wordpress root, you can call it by using
mydomain.com/phpinfo.php
if this does not show the 'before' and 'after' you need to contact your host and pursue it thru their support.

The output of the echo should be going somewhere....

foia65 Feb 1, 2011 01:32 PM

What you suggested didn't work.
However, my host provided with the required info.
You can find it here: http://foia.sportsontheweb.net/info.php


All times are GMT -6. The time now is 03:56 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.