Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Problem with style importing (http://forum.bytesforall.com/showthread.php?t=7978)

kamien8 Jul 6, 2010 09:45 AM

Problem with style importing
 
Hello,
I have problem with style importing. I try to use predefined styles (eg. ata-round.txt) or my own newly created - no one can be successfuly imported.

I think, mayby chmod is important?

BTW
In which table Atahualpa keeps data? Because maybe I can catch settings by importing some table from MySQL.


I have WP3 and Atahualpa 3.5.1

Regards, Adam

juggledad Jul 6, 2010 10:06 AM

try this,
1) do an EXPORT of the current style (for backup purposes) does it work?
2) if you get a backup, at ATO->Export/Import Settings->Delete the option 'bfa_ata4' - press the delete button
3) try the omport - you should get a b reif message in green saying it was successful. if you don't try it again.
4) check the site to see it the import took.

The settings are stored in the wp-options table in the 'bfa_ata4' row.

kamien8 Jul 6, 2010 05:14 PM

Thank you for the answer.

1. Export works. I have "ata-wpavangardaorg-20100706.txt"
2. Done
3. Import doesn't work. All the time I have the same message
Code:

Warning: file_get_contents() [function.file-get-contents]: Filename cannot be empty in /wp-content/themes/atahualpa351/upload.php on line 8
Sorry, but ata-wpavangardaorg-20100706.txt doesn't appear to be a valid Atahualpa Settings File.

line 8 of upload.php
PHP Code:

$import_options file_get_contents($_FILES['userfile']['tmp_name']); 

But I'm not a programmer...

Fortunately I have DB backup :)

Regards, Adam

juggledad Jul 6, 2010 05:29 PM

please attach (use the paperclip icon) your exported style to a reply so I can try it.
what version of php are you running?

kamien8 Jul 6, 2010 06:39 PM

PHP Version: 5.2.13
MySQL: 5.0.90
phpMyAdmin: 2.9.2

All needed things you can find here.


Adam

juggledad Jul 6, 2010 07:25 PM

the style imported fine for me. This must be an environmental issue with your server (sigh).
What kind of server are you running on?
Is this hosted? if so who is the host?

kamien8 Jul 7, 2010 05:28 AM

It is hosted by home.pl - biggest provider in Poland.

I've installed in other place and works fine (and cheaper).
Thank you


All times are GMT -6. The time now is 07:05 AM.

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