11
supergran
Re: animal pedigree database, problems moving to new server
  • 2016/4/29 23:03

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


Thank you



12
supergran
Re: animal pedigree database, problems moving to new server
  • 2016/4/27 23:56

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


Thank you for your patience! I'm beginning to get my head around the process now at least
I'll keep the latest module and 2.5.7 as my main development site and check out developments on a separate version.

The blank page seems to be caused as I have the module set as my main page as I used to on my site. The module's index.php references a non existent file? - class/animal.php at line 49:
The same file is referenced by common.php and result.php. I then get an undefined class error for PedigreeAnimal presumably because it hasn't been loaded in header.php.

I guess the crux is that I'm using different xoops template /block / permission/ theme configurations with the module that haven't been tried out since some of the rewrites.

Jan



13
supergran
Re: animal pedigree database, problems moving to new server
  • 2016/4/26 5:45

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


Thank you. I've downloaded the latest presentations and will take a look at the books.

I reloaded the latest master core for 2.5.8 on php7 today. Access to templates etc now works great. It seems some of the pedigree issues I had were bootstrap theme specific. After making changes to the module I couldn't view the site and got an error of:
Error: Call to a member function dirname() on null
- Hope that's useful.
Changing the theme to Suico restored my view and I was also able to see the welcome page and menu etc. which I couldn't with the bootstrap theme.
I'll mark the repository in your link now as the definitive repository?
I am so glad to see the progress not just on this module but Xoops too. Thanks again. Much appreciated.
Jan



14
supergran
Re: animal pedigree database, problems moving to new server
  • 2016/4/25 22:35

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


This discussion is really useful- Thank-you!!
I have been looking at some of the xoops presentations and developer information to try and improve and update my php /my sql & xoops knowledge up to date and be of more help in the future. Can you point me in the right direction for the best and most up to date material that you have?
In the meantime I'll make a small donation. Thanks again to all on the development team for taking the time to update this module.
Jan



15
supergran
Re: animal pedigree database, problems moving to new server
  • 2016/4/21 1:21

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


Hi
Not sure if this is of help but that was certainly a problem in the original version and mysql_real_escape_string I think was the fix. However, there was a clunky workaround which was to type 2 apostrophes - not that I recommend that as an in production solution! :)
I had the same issue with the date fields and the only way I got a temporary fix was to set them as text fields just to store the data but of course that renders them useless from a data perspective. I've started going through the latest version but it looks like some of the layout changes that have been made are hard coded and the options in the module haven't been removed but no longer work due to the changes.There's more to do than I previously thought for a production site I think.



16
supergran
Re: animal pedigree database, problems moving to new server
  • 2016/4/18 6:32

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


Hi - yes, search for a dog works fine here too but when you search for a dog using the virtual mating page you don't have that option just a list of all dogs beginning with that letter which can be hundreds. Manually changing the query parameter in the address bar isn't something I'd like to go live with.

At the moment I'm testing on PHP 7 so I don't know if some of the things I've picked up are to do with the new xoops or not but:
The welcome page option isn't working even if selected.
The colour choices change in admin but do not result in any change in the front end
The xoops block admin doesn't work so that the pedigree module and menu is always visible even for anonymous users. Changing the permissions and positions seems to have no effect / cause problems.
Other options do work such as names for animal etc.
I'm trying to use the bootstrap theme as it's perfect for uniform data presentation but the child menu items don't seem to pick up the classes.
I'll try and spend some time this week comparing it with the current version and PHP 5.6 rather than RC3 and PHP7. That might have differences. RC3 still doesn't like me trying to change the template. I'll run some tests and come back with specific issues as some are probably module specific and some may not.
Thanks again.
Jan



17
supergran
Re: animal pedigree database, problems moving to new server
  • 2016/4/18 0:31

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


I'm happy to help with testing. Given the progress you're making on RC3 and PHP 7 I've set up a test site for that.
In terms of usability, taking just the search mentioned above for instance: If I were using the database for my own personal use then yes it's not a great issue to use keyboard shortcuts that I may be familiar with. However, if I am running a website for other users then it needs to be easily searchable and users would expect to be able to enter part of a name to find the dog that they want. That's pretty standard functionality to be fair and I don't think many standard web users would think to change the query in the address bar or should be expected to. There are a number of client side software apps for personal use and I do use those but the appeal of James' module was the ability to allow owners / breeders to interact with the pedigrees and help make informed breeding choices. For that reason it does need to be user friendly as it was in the beginning. I'm happy to help and am just grateful that you have been willing to put some time to it. It goes hand in hand with the new xoops and PHP of course. The inability to run the old version on more modern server set ups was what caused the problems in the first place so it's great to see the security and scalability in xoops. Looking forward to the release of 2.5.8! :)
Jan



18
supergran
Re: animal pedigree database, problems moving to new server
  • 2016/4/17 8:28

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


Yes it's interesting and yes, dated. The tables and lack of responsive support don't help. Some of the changes made to the module have also affected it's use. I notice the welcome screen no longer functions although the options are still there. The trouble is it has been tweaked for individual breeds / species for good intention but loses it's original focus. James was ahead of the game I think. I've sent you a pm. Thanks again for your help. I'll do some more testing this week. Bootstrap theme is a great step forward for xoops.
Jan



19
supergran
Re: animal pedigree database, problems moving to new server
  • 2016/4/16 0:38

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


Hi
Thank you for the work you are doing on this module. I had to take down our site 2 years ago as it would not work on our server. I tried the first modules put up here but had no luck at all in getting them to work with PHP 5. Just blank pages. Xoops works fine but I had to abandon that as my other sites. I've been using basic php pages accessing data on a Joomla database. Far less functionality than the pedigree module but I can generate pedigrees and track health data. I came upon this thread by accident yesterday and have downloaded alpha 6 and the latest release candidate for Xoops. I've set up a test site on Xamp pro using windows 10. Xoops and the pedigree module install OK. I have added almost 7000 dogs with sire and dam IDs and the pedigrees generate OK. The first blank page I got was on trying a virtual mating Error reported was:

Parse error: syntax error, unexpected '(', expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in
MYPATH:\modules\pedigree\coi.php on line 783

I get another blank page on trying to calculate the inbreeding percentage on the dog detail page with the same error. Removing the brackets from $sqlquery fixes it.

I'm using the new Xoops bootstrap template which looks great in itself and should make it easier to customise the module which is looking old fashioned. With bootstrap incorporated it should be easy to make it look great.
If the module is going to be completed I'd gladly go back to using it and Xoops. I have certainly missed the functionality.
Thanks again for all your work.
Jan
As a suggestion:
In terms of usability there seems only an alphabetical list to search fro the sire and dam for a mating rather than the search box to start inputting the name as it used to be. When there are thousands of dogs in a database that isn't very practical.



20
supergran
Registration / captcha problems
  • 2011/6/15 5:54

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


Hi - I'm implementing my first site using xoops and am using 2.5.1 I'm geting reports of the captcha code being entered correctly but not being accepted from a number of people and also some where that works and the user is told an activation email wil be sent but it doesn't happen. It all works for me when I test it and for some others. Any ideas of what would cause it?
In the case of the activation email is there any way I can resend it?

Thanks for any help.

Jan




TopTop
« 1 (2)



Login

Who's Online

169 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 169


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits