WebsiteBaker Support (2.8.x) > Templates, Menus & Design

Creating my first template

<< < (4/4)

doc:
Hello,

if you are running WB 2.7 enable error reporting via Backend -> Settings -> show advanced options. Set error level to E_ALL and try again. If save mode is enabled, you should see some error notices which you may post here for further help.

Christian

valerie:
I have this problem too. It's a clean install of WB I did yesterday and I installed a couple of templates fine. THen today I tried and I get the blank screen with every one I try, including the mytemplate_en.zip file in the official tutorial. On both that one and the templeron.zip one, which is the first, most downloaded template in the repository the error message says:


--- Code: ---Parse error: syntax error, unexpected T_STRING in /home/.../public_html/.../wb/temp/unzip/info.php on line 29

--- End code ---

So I went and looked in that folder and there are files there from an earlier template I did that had an error in the info.php file at line 29 (I wasn't thinking and put an apostrophe in the description). I can't uninstall the invalid template through the wb admin since it never installed and isn't in the list. I tried to delete via ftp, which worked, but any subsequent template install--even different ones--result in the tmp/unzip folder being populated with the invalid template's files, not the one I chose to install.

So then I thought it must be that I have to delete the invalid template info out of the database. I went to admin tools>reload addons>templates. I tried another install with the mytemplates file from the WB tutorial and still got the error message about the bad info.php file. Is there another way to get this info out of the database or should I go to phpmyadmin next?

Thanks!

Tau:

--- Quote from: doc on October 03, 2008, 03:02:01 PM ---Hello,

if you are running WB 2.7 enable error reporting via Backend -> Settings -> show advanced options. Set error level to E_ALL and try again. If save mode is enabled, you should see some error notices which you may post here for further help.

Christian

--- End quote ---
Hi

I did as you suggested and result is this:

"Parse error: syntax error, unexpected T_DNUMBER in /customers/steinov.dk/steinov.dk/httpd.www/temp/unzip/info.php on line 5"

Does that help you to find a solution?

Tau

Tau:
Hi again

When a read Valerie's Error description and my own I wondered if maybe some old files in the temp folder was doing something wrong.
Then I started up my FTP program (Dreamwiever) and deleted everything in the tempfolder on the server.
Then I uploaded the mytemplate_en.zip file.

And now it works!  :-)

Conclusion up till now: Clean the tempfile if you get a blank page when you try to uplaod a new template!

Does the same action solve your problem, Valerie?

Tau

valerie:
no, the database always reinserted the files, even when I uploaded a different template, so I just deleted the database and made a new one. Problem solved. Don't know what I would've done if I had data in it that I needed.

Glad it helped you, though. That's why I wrote it all...

Navigation

[0] Message Index

[*] Previous page

Go to full version