Welcome to Geeklog Wednesday, May 22 2013 @ 01:00 PM EDT
|
||||||||
![]() |
Forum Index > Support > Installation Support |
New Topic
|
Post Reply
|
Can't save users on my new 1.5.1 install. |
|||
| DubiousChrisJ |
|
||||||
![]() ![]() ![]() ![]() ![]() Regular Poster ![]() Status: offline ![]() Registered: 05/10/05 Posts: 114 |
I've installed a new installation of 1.5.1, and everything seems fine, but when I go to add a user, it doesn't save, at all. I was able to modify the welcome article, so I know I have DB connectivity and permissions, at least for that function. Any ideas?
Luhme summa dat GL. |
||||||
|
|||||||
| DubiousChrisJ |
|
||||||
![]() ![]() ![]() ![]() ![]() Regular Poster ![]() Status: offline ![]() Registered: 05/10/05 Posts: 114 |
Spotted the issue, and I believe this is the same thing I ran into when I tried to upgrade from 1.4x to 1.5x.
PHP Formatted Code Results of the Security CheckGood! You seem to have removed the install directory already. unable to connect to kayaktourflorida.comdb-config.php:80 unable to connect to kayaktourflorida.comlogs:80 unable to connect to kayaktourflorida.complugins:80 unable to connect to kayaktourflorida.comsystem:80 unable to connect to kayaktourflorida.combackups:80 unable to connect to kayaktourflorida.comdata:80 Good! You seem to have changed the default account password already. It's missing a slash wherever it is that these values are stored. The architecture seem to be pretty different this iteration. Any o' you fine chaps capable of telling me what file I need to edit to put that in? I'll be greppin my way through the directory in the meantime... Luhme summa dat GL. |
||||||
|
|||||||
| DubiousChrisJ |
|
||||||
![]() ![]() ![]() ![]() ![]() Regular Poster ![]() Status: offline ![]() Registered: 05/10/05 Posts: 114 |
Well, I grepped my heart out, and can't figure out where this slash should be generated. If anyone has run into a similar issue, any feedback at all would be appreciated.
Luhme summa dat GL. |
||||||
|
|||||||
| DubiousChrisJ |
|
||||||
![]() ![]() ![]() ![]() ![]() Regular Poster ![]() Status: offline ![]() Registered: 05/10/05 Posts: 114 |
Anybody? I'm surprised, I've always got faster answers on here.
Luhme summa dat GL. |
||||||
|
|||||||
| DubiousChrisJ |
|
||||||
![]() ![]() ![]() ![]() ![]() Regular Poster ![]() Status: offline ![]() Registered: 05/10/05 Posts: 114 |
OK, for some reason Pear was set to false. After verifying I did indeed have Pear, I set it to true. Now, I see this when I try to run the Security test (admin/sectest.php)
PHP Formatted Code An error has occurred:(This text is only displayed to users in the group 'Root') 2 - doheadrequest(HTTP/Request.php) [function.doheadrequest]: failed to open stream: No such file or directory @ /home/kayaktou/public_html/admin/sectest.php line 62 array(2) { ["url"]=> string(40) "http://kayaktourflorida.comdb-config.php" ["errmsg"]=> &NULL } When I check line 62, I see this: PHP Formatted Code require_once ('HTTP/Request.php');Request.php is present in my system/pear directory. Still hoping someone can show me the way... Luhme summa dat GL. |
||||||
|
|||||||
| DubiousChrisJ |
|
||||||
![]() ![]() ![]() ![]() ![]() Regular Poster ![]() Status: offline ![]() Registered: 05/10/05 Posts: 114 |
Curiouser and curiouser...
I turned off Pear, and now get the regular security test to run. I modified sectest.php to hardcode the slash, as follows: PHP Formatted Code $urls = array ( array ('/db-config.php', 'db-config.php'), array ('/logs/error.log', 'logs directory'), array ('/plugins/staticpages/functions.inc', 'plugins directory'), array ('/system/lib-security.php', 'system directory') ); foreach ($urls as $tocheck) { $display .= doTest ($url, $tocheck[0], $tocheck[1]); } // Note: We're not testing the 'sql' and 'language' directories. if (($_CONF['allow_mysqldump'] == 1) && ($_DB_dbms == 'mysql')) { if (makeTempfile ('/' . $_CONF['backup_path'] . 'test.txt')) { $display .= doTest ($url, '/backups/test.txt', 'backups directory'); @unlink ($_CONF['backup_path'] . 'test.txt'); } else { $display .= '<li>Failed to create a temporary file in your backups directory. Check your directory permissions!</li>'; } } if (makeTempfile ('/' . $_CONF['path_data'] . 'test.txt')) { $display .= doTest ($url, '/data/test.txt', 'data directory'); @unlink ($_CONF['path_data'] . 'test.txt'); } else { $display .= '<li>Failed to create a temporary file in your data directory. Check your directory permissions!</li>'; } Now, I get the following in my security test: PHP Formatted Code Results of the Security CheckGood! You seem to have removed the install directory already. Your db-config.php is reachable from the web. This is a security risk and should be fixed! Your logs directory is reachable from the web. This is a security risk and should be fixed! Your plugins directory is reachable from the web. This is a security risk and should be fixed! Your system directory is reachable from the web. This is a security risk and should be fixed! Your backups directory is reachable from the web. This is a security risk and should be fixed! Your data directory is reachable from the web. This is a security risk and should be fixed! Good! You seem to have changed the default account password already. I'll go searching for that now. If anyone sees this and knows what I'm on about, I would love to have some time saved.... :pray: Luhme summa dat GL. |
||||||
|
|||||||
| DubiousChrisJ |
|
||||||
![]() ![]() ![]() ![]() ![]() Regular Poster ![]() Status: offline ![]() Registered: 05/10/05 Posts: 114 |
Eh, bollocks it all, after all this, I found enough clues to point me to posts indicating that Fantastico fails marvelously at installing 1.5.1, since it doesn't have permissions to write to the parent of the public_html folder. Problem with their install, then.
Ah well, I've blown out that install, and doing it the old fashioned way now. If it solves the problem to install it from scratch, I'll note that here. Luhme summa dat GL. |
||||||
|
|||||||
| DubiousChrisJ |
|
||||||
![]() ![]() ![]() ![]() ![]() Regular Poster ![]() Status: offline ![]() Registered: 05/10/05 Posts: 114 |
Yup. Installed it by hand, and all is working fine now. :banghead: So much for Fantastico.
Luhme summa dat GL. |
||||||
|
|||||||
| DubiousChrisJ |
|
||||||
![]() ![]() ![]() ![]() ![]() Regular Poster ![]() Status: offline ![]() Registered: 05/10/05 Posts: 114 |
OK, still have an issue with saving articles. Not sure why or what, but can't save a test article. Static pages work fine. Going digging...
Luhme summa dat GL. |
||||||
|
|||||||
| Content generated in: 1.18 seconds |
|
|
|