Bienvenue, Invité
Nom d'utilisateur : Mot de passe :


I have developed a range of add-ons for webtrees available only from my kiwitrees.net web site: kiwitrees.net/simpl-add-ons/. For any queries related to those items contact me direct from that site.
  • Page :
  • 1
  • 2

SUJET : Individual pages disappear

Individual pages disappear il y a 6 ans 11 mois #1

  • redheadkelly
  • Portrait de redheadkelly
I just updated to 1.3.2 & now my individual pages don't display.

If I go to my Home Page & click on one of my Favorites, I can see everything... their name, all the events, the little image, the family list on the right.

Then, if I click on a family member, the next Individual page is totally blank. Everything below the top menu is white space.

Funny thing is, if I log out, it works just fine. So maybe it's in the security settings?

I have tried it with multiple themes & same problem.
L'administrateur a désactivé l'accès en écriture pour le public.

Individual pages disappear il y a 6 ans 11 mois #2

  • kiwi
  • Portrait de kiwi
  • Hors Ligne
  • Platinum
  • Messages : 4963
Any error messages?

Look at the page source, the webtrees logs (in administration) and possibly your server error logs.

Totally blank pages are most often caused by lack of memory, which should show as a fatal error on the page source.
Nigel

www.our-families.info

Hosted at:
Follow me at:
Dernière édition: il y a 6 ans 11 mois par kiwi.
L'administrateur a désactivé l'accès en écriture pour le public.

Individual pages disappear il y a 6 ans 11 mois #3

  • redheadkelly
  • Portrait de redheadkelly
Oh, you're so smart. :)

From the page source:
<b>Fatal error</b>:  Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND l_type LIKE 'CHIL' AND l_from LIKE ''' at line 1' in /home/content/html/fryingpan/webtrees/library/WT/DBStatement.php:88
Stack trace:
#0 [internal function]: PDOStatement-&gt;execute()
#1 /home/content/html/fryingpan/webtrees/library/WT/DBStatement.php(88): call_user_func_array(Array, Array)
#2 /home/content/html/fryingpan/webtrees/library/WT/DBStatement.php(100): WT_DBStatement-&gt;__call('execute', Array)
#3 /home/content/html/fryingpan/webtrees/library/WT/DBStatement.php(100): WT_DBStatement-&gt;execute()
#4 /home/content/html/fryingpan/webtrees/modules_v3/simpl_cousins/module.php(92): WT_DBStatement-&gt;__call('fetchAll', Array)
#5 /home/content/html/fryingpan/webtre in <b>/home/content/html/fryingpan/webtrees/library/WT/DBStatement.php</b> on line <b>88</b><br />
L'administrateur a désactivé l'accès en écriture pour le public.

Individual pages disappear il y a 6 ans 11 mois #4

  • ToyGuy
  • Portrait de ToyGuy
  • Hors Ligne
  • Moderator
  • Live like it's Christmas every day - Santa Stephen
  • Messages : 4925
Did you update Nigel's SIMPL_COUSINS module too?
Santa Stephen the Fabled Santa
Latest webtrees at MyArnolds.com
Hosted by webtreesonline.com, a division of GeneHosts LLC
MacOS 10.6.8, Apache 2.2+, PHP 5.4.16, MySQL 5.5.28
L'administrateur a désactivé l'accès en écriture pour le public.

Individual pages disappear il y a 6 ans 11 mois #5

  • kiwi
  • Portrait de kiwi
  • Hors Ligne
  • Platinum
  • Messages : 4963
Interesting.

That's the same error posted by Adem just a short while ago. Can you read my reply there, and see if we can pin-point the problem.

webtrees.net/index.php/en/forum/26-the-s...ason-for-fatal-error
Nigel

www.our-families.info

Hosted at:
Follow me at:
L'administrateur a désactivé l'accès en écriture pour le public.

Individual pages disappear il y a 6 ans 11 mois #6

  • kiwi
  • Portrait de kiwi
  • Hors Ligne
  • Platinum
  • Messages : 4963
ToyGuy écrit:
Did you update Nigel's SIMPL_COUSINS module too?

It's a good question Stephen, but in this case upgrading the module won't make any difference.
Nigel

www.our-families.info

Hosted at:
Follow me at:
L'administrateur a désactivé l'accès en écriture pour le public.

Individual pages disappear il y a 6 ans 11 mois #7

  • redheadkelly
  • Portrait de redheadkelly
Oh... OK. I was just checking because I had noticed that the SIMPL_COUSINS had a new file in it, but if that's not the issue... then I won't look any further there.

I checked for errors & there are some. Family links, etc, like you said.

In order to fix them, I guess I'll have to revert back to 1.3.1, or maybe just uninstalling the Cousins module will do it. I'll try that first.
L'administrateur a désactivé l'accès en écriture pour le public.

Individual pages disappear il y a 6 ans 11 mois #8

  • kiwi
  • Portrait de kiwi
  • Hors Ligne
  • Platinum
  • Messages : 4963
Don't do anything.

I think I've found the problem. I'll get you an updated version of the add-on shortly, to test .
Nigel

www.our-families.info

Hosted at:
Follow me at:
L'administrateur a désactivé l'accès en écriture pour le public.
Avez-vous besoin d'une solution d'hébergement web pour votre site webtrees ?
Si vous préférez un hébergeur spécialisé de webtrees, la page suivante en liste quelques-uns capables de vous offrir ce type de service :

Individual pages disappear il y a 6 ans 11 mois #9

  • redheadkelly
  • Portrait de redheadkelly
Yay!
L'administrateur a désactivé l'accès en écriture pour le public.

Individual pages disappear il y a 6 ans 11 mois #10

  • kiwi
  • Portrait de kiwi
  • Hors Ligne
  • Platinum
  • Messages : 4963
Try the attached version.

La pièce jointe est absente ou indisponible

Nigel

www.our-families.info

Hosted at:
Follow me at:
L'administrateur a désactivé l'accès en écriture pour le public.

Individual pages disappear il y a 6 ans 11 mois #11

  • redheadkelly
  • Portrait de redheadkelly
OK... that seems to have done it. Thanks!!!!!
L'administrateur a désactivé l'accès en écriture pour le public.

Individual pages disappear il y a 6 ans 11 mois #12

  • redheadkelly
  • Portrait de redheadkelly
OK wait. I lied. I'd forgotten that I had deleted the Simpl_cousins plugin before I left, so I just uploaded the whole thing again & reactivated it & I still have the same problem.

So, tell me how the newest version of Simpl_cousins should be installed...

The latest zip file that I downloaded today has a directory called cousins_tab.

So when I unzip it, I think it's supposed to go into the directory I already have called simpl_cousins.

So after I upload it to my server, I have:

modules_v3
simpl_cousins
module.php
cousins_tab
module.php

Is that not right?
L'administrateur a désactivé l'accès en écriture pour le public.

Individual pages disappear il y a 6 ans 11 mois #13

  • redheadkelly
  • Portrait de redheadkelly
There were supposed to be indents in that file structure. It looks like this:

modules_v3
.....simpl_cousins
..........module.php
..........cousins_tab
...............module.php
L'administrateur a désactivé l'accès en écriture pour le public.

Individual pages disappear il y a 6 ans 11 mois #14

  • ToyGuy
  • Portrait de ToyGuy
  • Hors Ligne
  • Moderator
  • Live like it's Christmas every day - Santa Stephen
  • Messages : 4925
Kelly
Just replace the original folder with the one you got from Nigel. It is a total replacement and does not go inside the other folder, but rather at the root Modules_v3 folder
Santa Stephen the Fabled Santa
Latest webtrees at MyArnolds.com
Hosted by webtreesonline.com, a division of GeneHosts LLC
MacOS 10.6.8, Apache 2.2+, PHP 5.4.16, MySQL 5.5.28
Dernière édition: il y a 6 ans 11 mois par ToyGuy.
L'administrateur a désactivé l'accès en écriture pour le public.

Individual pages disappear il y a 6 ans 11 mois #15

  • redheadkelly
  • Portrait de redheadkelly
So should I also delete the simpl_cousins folder that I already had in modules_v3?
L'administrateur a désactivé l'accès en écriture pour le public.

Individual pages disappear il y a 6 ans 11 mois #16

  • redheadkelly
  • Portrait de redheadkelly
Well, that did it. I did delete the simpl_cousins folder because it was causing me to have the same module listed twice in my Modules lists in the Admin panel. Now everything works fine. Have my Cousins tab back & everything. Guess that was the problem all along.

Thanks ToyGuy!
L'administrateur a désactivé l'accès en écriture pour le public.

Individual pages disappear il y a 6 ans 11 mois #17

  • ToyGuy
  • Portrait de ToyGuy
  • Hors Ligne
  • Moderator
  • Live like it's Christmas every day - Santa Stephen
  • Messages : 4925
Yes, to test for Nigel whether this revised module works on your system without errors.
I use the module and I didn't have those errors when I tried to follow your instructions, but we may have different PHP, MySQL and obviously have different data.
As soon as Nigel is confident that the revisions solve your problem, I am confident he will update his add-ons download and retitle the module.
Santa Stephen the Fabled Santa
Latest webtrees at MyArnolds.com
Hosted by webtreesonline.com, a division of GeneHosts LLC
MacOS 10.6.8, Apache 2.2+, PHP 5.4.16, MySQL 5.5.28
L'administrateur a désactivé l'accès en écriture pour le public.

Individual pages disappear il y a 6 ans 11 mois #18

  • kiwi
  • Portrait de kiwi
  • Hors Ligne
  • Platinum
  • Messages : 4963
@Stephen - thanks for helping redheadkellyout.

@redheadkelly - a couple of things:

1 - You said "... it was causing me to have the same module listed twice in my Modules lists in the Admin panel. Now everything works fine. Have my Cousins tab back & everything. Guess that was the problem all along." No, there was a problem with the module that required the replacement I gave you. Your problems installing the replacement is a completely different issue.

2 - The version I have now added to my kiwitrees.net site includes a "readme" file with installation AND upgrade instructions. Would you proof-read them for me, with regard to the installation problem you had, and (please) suggest any better wording that would avoid others having the same difficulties. I'd appreciate the help.

3 - Very early on here you said "I checked for errors & there are some. Family links, etc, like you said. In order to fix them, I guess I'll have to revert back to 1.3.1,..." I hope that was a misunderstanding :-) You most certainly do NOT need to downgrade to fix those. But you really should fix them as soon as you can. The error list tells you what the problem is (read it carefully) and provides links to the records that need fixing. Of course, only you can identify what the correct fix may be. In some it will be deleting a no-longer needed record, in others adding a missing cross-reference.
Nigel

www.our-families.info

Hosted at:
Follow me at:
Dernière édition: il y a 6 ans 11 mois par kiwi.
L'administrateur a désactivé l'accès en écriture pour le public.

Individual pages disappear il y a 6 ans 11 mois #19

  • redheadkelly
  • Portrait de redheadkelly
I only meant that I would need to downgrade because the version I had wasn't working. I wasn't able to edit anything. But it only took me a second to figure out that I just needed to delete the the cousins module so that everything would work properly. I got all my errors fixed already. Didn't even know that tool existed. :)

I was just about to shut down, but I'm happy to proofread for you. Hopefully, it can wait till I've had some sleep.
L'administrateur a désactivé l'accès en écriture pour le public.

Individual pages disappear il y a 6 ans 11 mois #20

  • redheadkelly
  • Portrait de redheadkelly
Hi again Nigel.

The readme sounds great if you don't already have an install in the Simpl_cousins directory.

That was my confusion. All your other plugins start with Simpl, so I thought for sure I needed to end up with a Simpl_cousins directory somehow after I upgraded.

Maybe the Upgrade section needs to state clearly that the Simpl_cousins directory should be deleted before the new version is uploaded and that the end goal is to have a directory called cousins_tab in your modules_vX directory instead of the Simpl_cousins directory.

I know this may seem obvious to some people, but to those who overthink things, like me, ha, there are too many things to consider if it's not just spelled out really simply.

I am a little curious, though, why the zip file for the new version just doesn't contain a simpl_cousins directory instead of the cousins_tab directory. I downloaded & installed most of your other plugins at the same time & they were so easy because I just unzipped & uploaded them right over the files I already had. It was a no brainer.
L'administrateur a désactivé l'accès en écriture pour le public.
  • Page :
  • 1
  • 2
Propulsé par Kunena