This Help forum is for issues relates to the latest release (1.7.10/11/12). For issues related to development versions please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here."

TOPIC: [SOLVED] error after update to 1.7.12

error after update to 1.7.12 3 months 6 days ago #1

  • elwinberlips
  • elwinberlips's Avatar
  • Offline
  • New
  • Posts: 12
i get this error?

/home/public/sites/genealogie.berlips.nl/app/Theme.php:90 #0 /app/Controller/PageController.php:166 LogicException("") #1 /index.php:90 pageHeader()


(*help*)
The administrator has disabled public write access.

error after update to 1.7.12 3 months 6 days ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11054
My guess is that your server is missing one or more PHP libraries. To test this:

Temporarily remove the file /data/config.ini.php (rename it to something else).

webtrees should start the setup wizard.

Does the first or second page of the setup wizard warn you about missing PHP libraries?

Then replace the data/config.ini.php file.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

error after update to 1.7.12 3 months 6 days ago #3

  • elwinberlips
  • elwinberlips's Avatar
  • Offline
  • New
  • Posts: 12
Will i loose my tree then??
The administrator has disabled public write access.

error after update to 1.7.12 3 months 6 days ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11054
> Will i loose my tree then??

No.

Even if you follow all the steup-wizard steps to the end, it will not overwrite your data.

It has some checks built in to prevent this from happening.

It is also a way to automatically recreate the file /data/config.ini.php if you lose it.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

error after update to 1.7.12 2 months 3 weeks ago #5

  • elwinberlips
  • elwinberlips's Avatar
  • Offline
  • New
  • Posts: 12
I get keeping errors...

/home/public/sites/genealogie.berlips.nl/app/Theme.php:90 #0 /app/Controller/PageController.php:166 LogicException("") #1 /index.php:90 pageHeader()

What am i doing wrong??
The administrator has disabled public write access.

error after update to 1.7.12 2 months 2 weeks ago #6

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Gold
  • Greetings from Utrecht, Holland
  • Posts: 1547
Can you tell us how the check for php modules went?
Were you able to go through the setup wizard?

What was the webtrees version before you upgraded? Do you know which php version is on your system?
Can you visit the page /admin_site_info.php on your server? What info does it show?
stamboom.BertKoor.nl runs on webtrees v1.7.9
Last Edit: 2 months 2 weeks ago by bertkoor.
The administrator has disabled public write access.

error after update to 1.7.12 2 months 2 weeks ago #7

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11054
The error tells us that the code is trying to use a theme before it has chosen one.

Is there any other information that you can give us?
Are you using a custom theme?
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

error after update to 1.7.12 2 months 2 weeks ago #8

  • elwinberlips
  • elwinberlips's Avatar
  • Offline
  • New
  • Posts: 12
The whole update went well... green ticks everywhere but all of the sudden this error :(

Can i change a field in the database to bypass this error?
The administrator has disabled public write access.
Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

error after update to 1.7.12 2 months 2 weeks ago #9

  • elwinberlips
  • elwinberlips's Avatar
  • Offline
  • New
  • Posts: 12
I have modified the themes css file before. Do you think a css file can gererate this kind of error??
The administrator has disabled public write access.

error after update to 1.7.12 2 months 2 weeks ago #10

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11054
> Do you think a css file can gererate this kind of error??

No.

My first theory is that your server may be missing a library.
If this happens before the code has selected a theme, it might try to display the error using the non-existant theme.
This is a a common scenario that would cause the error you are seeing.

I suggested a way to test this theory.

You ignored it.

Or maybe you did it - and just didn't tell me the result.

Who knows.

If you do not want to co-operate with the investigation into your problem, then I am unable to help you. Sorry.

If you don't understand what I've asked you to do, then tell me. But you asked for my help and then ignored it.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

error after update to 1.7.12 2 months 2 weeks ago #11

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11054
> Do you think a css file can gererate this kind of error??

No.

My first theory is that your server may be missing a library.
If this happens before the code has selected a theme, it might try to display the error using the non-existant theme.
This is a a common scenario that would cause the error you are seeing.

I suggested a way to test this theory.

You ignored it.

Or maybe you did it - and just didn't tell me the result.

Who knows.

If you do not want to co-operate with the investigation into your problem, then I am unable to help you. Sorry.

If you don't understand what I've asked you to do, then tell me. But you asked for my help and then ignored it.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

error after update to 1.7.12 2 months 2 weeks ago #12

  • elwinberlips
  • elwinberlips's Avatar
  • Offline
  • New
  • Posts: 12
I was on holiday for a few days therefore the delay in the results...

I followed your steps. no errors.

Same outcome — that ugly error message... :(
Last Edit: 2 months 2 weeks ago by elwinberlips.
The administrator has disabled public write access.

error after update to 1.7.12 2 months 2 weeks ago #13

  • elwinberlips
  • elwinberlips's Avatar
  • Offline
  • New
  • Posts: 12
Hi Bert,

Alles ging goed tijdens de update, ik kreeg geen errors. Alleen op het eind deze foutmelding? Ik heb ook het config.ini.php verwijderd en een nieuwe aangemaakt. Zelfde foutmelding...

Best frustrerend, ik had een flink uitgewerkte stamboom! Ik wil er alles aan doen om deze weer up en running te krijgen!

Weet je of ik iets in de database kan veranderen?
The administrator has disabled public write access.

error after update to 1.7.12 2 months 2 weeks ago #14

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11054
You could edit the file app/Theme.php and replace these lines

github.com/fisharebest/webtrees/blob/1.7...pp/Theme.php#L91-L98

with
return new \Fisharebest\Webtrees\Theme\WebtreesTheme();

This might allow the code to get a little further and display an error.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

error after update to 1.7.12 2 months 2 weeks ago #15

  • elwinberlips
  • elwinberlips's Avatar
  • Offline
  • New
  • Posts: 12
a little bit further... I see an unstyled page. After i login i get this:

genealogie.berlips.nl

/home/public/sites/genealogie.berlips.nl/app/Theme/AbstractTheme.php:1702 Call to a member function getUserPreference() on null #0 /app/Theme/AbstractTheme.php:1731 Error("Call to a member function getUserPreference() on null") #1 /app/Theme/AbstractTheme.php:2138 menuMyPages() #2 /app/Theme/AbstractTheme.php:672 secondaryMenu() #3 /app/Theme/AbstractTheme.php:248 headerContent() #4 /app/Controller/PageController.php:177 bodyHeader() #5 /index.php:90 pageHeader()



baby steps ;)
Last Edit: 2 months 2 weeks ago by elwinberlips.
The administrator has disabled public write access.

error after update to 1.7.12 2 months 2 weeks ago #16

  • JustCarmen
  • JustCarmen's Avatar
  • Offline
  • Frequent
  • Posts: 934
Je geeft aan dat de fouten zijn ontstaan na een upgrade naar versie 1.7.12, maar het versienummer in de bron van je website geeft versie 1.7.9 aan. Het lijkt erop dat de upgrade niet volledig is geweest en er daardoor bestanden en scripts ontbreken of niet goed zijn bijgewerkt.

Ik zou je aanraden om alles eraf te gooien en opnieuw te installeren. Ik neem aan dat je een backup van je Gedcom bestand (en media) hebt. Die kun je dan daarna weer importeren.

Carmen
Designer of the JustBlack theme, the JustLight theme and the Fancy modules

Check it out at www.justcarmen.nl

webtrees 1.7.14 at www.wijzijnfamilie.nl
PHP 7.2.14

wt 2.0. (latest dev) on local testsite for theme and module development
Last Edit: 2 months 2 weeks ago by JustCarmen.
The administrator has disabled public write access.

error after update to 1.7.12 2 months 2 weeks ago #17

  • elwinberlips
  • elwinberlips's Avatar
  • Offline
  • New
  • Posts: 12
Dat vind in nogal wat...

Hoef ik de foto's dan niet meer opnieuw te 'koppelen' aan de desbetreffende persoon? Blijft het pad hetzelfde? Gedcom importeren en klaar?
The administrator has disabled public write access.

error after update to 1.7.12 2 months 2 weeks ago #18

  • JustCarmen
  • JustCarmen's Avatar
  • Offline
  • Frequent
  • Posts: 934
Hoef ik de foto's dan niet meer opnieuw te 'koppelen' aan de desbetreffende persoon? Blijft het pad hetzelfde? Gedcom importeren en klaar?
Ja

Als je het eng vind dan kun je ook eerst een handmatige upgrade proberen. Unzip alle bestanden van webtrees 1.7.12 en upload deze naar de server. De oude bestanden worden dan overschreven, maar je data map met je media blijft in tact.

Carmen
Designer of the JustBlack theme, the JustLight theme and the Fancy modules

Check it out at www.justcarmen.nl

webtrees 1.7.14 at www.wijzijnfamilie.nl
PHP 7.2.14

wt 2.0. (latest dev) on local testsite for theme and module development
The administrator has disabled public write access.

error after update to 1.7.12 2 months 2 weeks ago #19

  • elwinberlips
  • elwinberlips's Avatar
  • Offline
  • New
  • Posts: 12
ik ga het nu proberen... Fingers crossed...
The administrator has disabled public write access.

error after update to 1.7.12 2 months 2 weeks ago #20

  • elwinberlips
  • elwinberlips's Avatar
  • Offline
  • New
  • Posts: 12
Het heeft gewerkt!

JustCarmen, bedankt!
The administrator has disabled public write access.
Powered by Kunena Forum