When requesting help please provide as much information as possible. Explain what version of webtrees, PHP and MYSQL you are using. If possible provide a URL to your site so we can see the problem first-hand.
Tip: Think about putting these details in your signature, so it appears in the footer of ALL your messages
Question can't install
- froob
- Topic Author
- Visitor
Server is running ubuntu with mysql 5.0.51a-3ubuntu5.8, php 5.2.4-2ubuntu5.14 and apache2.
I created a webtrees folder in apache's website location [I have an existing website there which works fine], and copied all the files from the webtrees download into this folder.
When I navigate to the URL for this folder from my browser [safari 5.1.7 on snow leopard], I get a blank screen, nothing happens.
I can navigate to the readme.html file and it displays.
What is missing in order to launch the setup wizard?
Thank you for your attention.
-F
www.raintown.net/fBlog
Please Log in or Create an account to join the conversation.
- ToyGuy
- Offline
- Moderator
- Live like it's Christmas every day - Santa Stephen
Have you confirmed that all the files transferred correctly?
For later, have you created or have a database in place with a U/N and Password?
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
Please Log in or Create an account to join the conversation.
- fisharebest
- Away
- Administrator
Actually, something does happen. Presuming you have installed webtrees in www.raintown.net/webtrees/ then the server is generating a "500" response code. This means that a fatal error has occured. The good news is that apache will have almost certainly recorded more details of the problem in an error log.
If this is a virtual server, then the apache logs are probably in /var/log/apache/error.log
If this is an account on a shared server, then the apache logs will probably be in a subfolder in your home folder.
Look in the logs and tell us what the error says.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- fisharebest
- Away
- Administrator
My guess is that you didn't copy all the files to the server. Make sure you copy all the sub-folders, etc. to the server.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- froob
- Topic Author
- Visitor
I will add the missing subfolders and their contents and try again.
And a good reminder to always check the log files for errors before complaining to a public forum!
-F
Please Log in or Create an account to join the conversation.
- froob
- Topic Author
- Visitor
Re the database -- are there requirements and/or guidelines or suggestions re the database -- for instance recommended size? Does name matter? Should there be users with read/write as well as read-only access to this database? Etc.
-F
Please Log in or Create an account to join the conversation.
- froob
- Topic Author
- Visitor
Please Log in or Create an account to join the conversation.
- fisharebest
- Away
- Administrator
Yes and no.
If you specify a database name that does not exist, webtrees will *try* to create it.
However, on many shared servers, the DB user account does not have this permission. The webhost creates the DB and you just use the one you are given.
So, it works both ways. It will either use or create the DB name you give it.
<<Does name matter?>>
IIRC, MySQL will let you have any database name that is also a valid name in the filesystem.
However, I would strongly recommend just alphanumerics, 15 characters or less.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- ToyGuy
- Offline
- Moderator
- Live like it's Christmas every day - Santa Stephen
Yes, in the readme and on the wiki.Re the database -- are there requirements and/or guidelines or suggestions re the database -- for instance recommended size?
wiki.webtrees.net/Category:ReadMe (or included with your download)
wiki.webtrees.net/System_requirements
wiki.webtrees.net/Installation
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
Please Log in or Create an account to join the conversation.
- froob
- Topic Author
- Visitor
I checked both the webroots and webroots/data folders and this file is not in either. The closest match is includes/config_data.php
I set webroots/data to 777 prior to attempting the download.
I checked error.log and no errors are reported for this step.
??
-Froob
Please Log in or Create an account to join the conversation.
- froob
- Topic Author
- Visitor
Please Log in or Create an account to join the conversation.
- fisharebest
- Away
- Administrator
This is a file that is downloaded to your LOCAL computer. You then need to upload this to the SERVER.
The purpose of this step it to make sure that only the owner of a site can configure it.
Have you disabled JavaScript in your browser?
Have you configured your browser to automatically save download files without asking you?
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- froob
- Topic Author
- Visitor
I went through and reentered all the answers again, and yet again, after clicking the 'continue' button on the page to copy the config.ini.php file, setup starts from the beginning again.
This doesn't seem right. When I open a new browser tab at www.raintown.net/webtrees it starts setup too.
?
Sorry for throwing all these noob install questions at ya, thanks for your continued attention and patience.
-F
Please Log in or Create an account to join the conversation.
- froob
- Topic Author
- Visitor
Thanks for all the helpful replies on this forum folks!
Please Log in or Create an account to join the conversation.
- froob
- Topic Author
- Visitor
When I set perm 777 to the data folder, and point my browser to site /data/config.ini.php I see the semicolon rather than a page forbidden error.
So according to the README I set the data perm to 700. After which, when I navigate to my webtrees site it automatically starts running setup. When I explicitly type webtrees/login.php it still switches to setup.php.
...?
Is there a way to configure a secure data folder in the webtrees site AND still access the site?
Access for most files in the webtrees folder is 644.
-F
Please Log in or Create an account to join the conversation.
- fisharebest
- Away
- Administrator
This is OK.
We use two separate techniques to protect the contents of this file.
1) .htaccess files. Not all servers are configured to use them. I guess yours is not.
2) "header guards". This is a PHP script embedded in the first line of the config file. If you see just a semicolon, it is working!
So, set the permission on the data folder so that apache can both read and write to it. For you, this means 777.
Once you are running, there is a site-configuration setting that allows you to split the data directory into two. The current one needs to contain the config.ini.php file. The other will contain all your other temporary files. This can be moved outside the document root.
When you've done this, you'll be able to set the data directory and its contents to be read-only.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- froob
- Topic Author
- Visitor
I changed perm back to 777 on data, now I can login to webtrees again.
My current problem is blank screens when I click assorted admin items. apache2's error.log shows this is a result of PHP fatal error bytes exhausted [insufficient memory to load php files].
Any suggestion on this one?
Please Log in or Create an account to join the conversation.
- fisharebest
- Away
- Administrator
The /data directory contains a .htaccess file.
Perhaps you didn't upload it?
<<My current problem is blank screens when I click assorted admin items. apache2's error.log shows this is a result of PHP fatal error bytes exhausted [insufficient memory to load php files].>>
By default, the memory allocated to PHP is oftern very small.
In the admin -> site preferences page, you can ask webtrees to request more memory. (Your server may not honour the request, but webtrees can always ask!). In this case, you'll need to increase the PHP memory_limit setting in the main PHP configuration file.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- froob
- Topic Author
- Visitor
Please Log in or Create an account to join the conversation.