Announcement

#1 2013-01-13 21:15:10

Naquita
Guest

Warning error for admin

Hello, I have been trying to edit a theme.
everything was fine until I logged in as the admin
I can see the back end of the site, but when I go to view the gallery I get an error message.
I tried deleting the theme I worked on and also the parent theme. I also deactivated all but the dark theme but still I get this:

Warning: include() [function.include]: Failed opening '/themeconf.inc.php' for inclusion (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home4/naquitac/public_html/products/include/template.class.php on line 849

Warning: Cannot modify header information - headers already sent by (output started at /home4/naquitac/public_html/products/include/template.class.php:849) in /home4/naquitac/public_html/products/include/page_header.php on line 105

Warning: Smarty error: unable to read resource: "header.tpl" in /home4/naquitac/public_html/products/include/smarty/libs/Smarty.class.php on line 1093

Warning: Smarty error: unable to read resource: "index.tpl" in /home4/naquitac/public_html/products/include/smarty/libs/Smarty.class.php on line 1093

Warning: Smarty error: unable to read resource: "footer.tpl" in /home4/naquitac/public_html/products/include/smarty/libs/Smarty.class.php on line 1093

 

#2 2013-01-13 21:28:27

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Warning error for admin

Offline

 

#3 2013-01-13 21:33:49

Naquita
Guest

Re: Warning error for admin

@mistic100

Yeah so helpful..
Already did that before posting but didnt help me
thats why god created ADD POST!!

 

#4 2013-01-13 21:41:33

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Warning error for admin

should have precised it

which theme did you edit ? did you make a copy or did you edit in place ? what is the contents of it's themeconf file ?

Offline

 

#5 2013-01-13 21:49:26

Naquita
Member
2013-01-13
4

Re: Warning error for admin

I made a copy of the Sylvia theme and then edited the copy in place.
I edited the themeconf file from the as was directed in http://piwigo.org/doc/doku.php?id=dev:theme_creation

but left the Theme URI blank
and changed all the placed where it said Sylvia to the name of the theme I had been working on

when I noticed the error I tried to delete both the sylvia theme and my own, but didnt help

Offline

 

#6 2013-01-13 21:54:55

Naquita
Member
2013-01-13
4

Re: Warning error for admin

I also checked that ( header.tpl - index.tpl - footer.tpl) are all present in directory themes/default/template

and changed all the permissions to 7 5 5

Last edited by Naquita (2013-01-13 21:57:15)

Offline

 

#7 2013-01-13 22:05:12

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Warning error for admin

Configuration->Theme, which is the default theme ?

you should also check that all the themes registered in the table "piwigo_themes" exists, and that all themes used in "piwigo_user_infos.theme" exist in "piwigo_themes"

Offline

 

#8 2013-01-13 22:14:56

Naquita
Member
2013-01-13
4

Re: Warning error for admin

Right now it is elegant

You lost me at the second part though =(

Offline

 

#9 2013-01-13 22:22:44

Naquita
Member
2013-01-13
4

Re: Warning error for admin

If I just give up and copy the uploads folder to another directory then uninstall and reinstall piwigo. and move the uploads folder back, will it help?

Offline

 

#10 2013-01-13 22:40:49

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Warning error for admin

it will certainly work if you don't mind loosing some data

but before that
I spoke about database table, you can access it with phpMyAdmin
but there a simple check you can perform :
on Admin->Users->Manage, check all users and set the used theme as "elegant"

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact