I've installed rc1 on three live sites so far. All is good on this end except one little issue...
After install I always delete the install directory and chmod mainfile before I even log in.
So anyway once I log into the site and hit admin it asks you.
This is your first time to enter the administration section. Press the button below to proceed.
So I have done this on three different installs I hit the button and a error says
"fail to open file"
Its a very breif error that displays over the green shade once you click the button.
Otherwise I have not been able to find any errors.
-----
So XOOPS failed to open what file?
-----
Server set up
Apache version 2.2.6 (UNIX)
PHP version 5.2.4
MySQL version 5.0.27-standard-log
-----
Debug
All errors (0) queries (6) blocks (0) extra (0) timers (3)
Errors
Queries
SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
SELECT sess_data, sess_ip FROM xoops_session WHERE sess_id = 'xxx'
SELECT * FROM xoops_users WHERE uid=1
SELECT * FROM xoops_modules WHERE dirname = 'system'
SELECT * FROM xoops_configcategory
SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_admin' AND gperm_modid = '1' AND (gperm_groupid = '1' OR gperm_groupid = '2'))
Total: 6 queries
Blocks
Total: 0 blocks
Extra
Timers
XOOPS took 0.089 seconds to load.
XOOPS Boot took 0.050 seconds to load.
Module init took 0.038 seconds to load.
-----
Smarty
included templates & config files (load time in seconds)
db:system_block_user.html
db:system_block_mainmenu.html
/home/mydomain/public_html/themes/default/theme.html (0.00311)
default/theme_blockleft.html (0.00052)
default/theme_blockleft.html (0.00044)
assigned template variables
{$SCRIPT_NAME} /index.php
{$block} Array (6)
id => 5
module => system
title => Main Menu
weight => 0
lastmod => 1190556147
content =>
\n \n {$xoBlocks} Array (8)
canvas_left => Array (2)
1 => Array (6)
id => 1
module => system
title => User Menu
weight => 0
lastmod => 1190556147
content => \n \n 5 => Array (6)
id => 5
module => system
title => Main Menu
weight => 0
lastmod => 1190556147
content => \n \n canvas_right => Array (0)
page_topleft => Array (0)
page_topcenter => Array (0)
page_topright => Array (0)
page_bottomleft => Array (0)
page_bottomcenter => Array (0)
page_bottomright => Array (0)
{$xoTheme} xos_opal_Theme Object (16)
folderName => default
path => /home/mydomain/public_html/themes/def...
url => http://www.mydomain.com/themes/default
bufferOutput => 1
canvasTemplate => theme.html
contentTemplate => empty
contentCacheLifetime => 0
contentCacheId => empty
content => empty
plugins => Array (1)
xos_logos_PageBuilder => xos_logos_PageBuilder Object (2)
theme => [object xos_opal_Theme]
blocks => Array (8)
canvas_left => Array (2)
1 => Array (6)
id => 1
module => system
title => User Menu
weight => 0
lastmod => 1190556147
content => \n \n 5 => Array (6)
id => 5
module => system
title => Main Menu
weight => 0
lastmod => 1190556147
content => \n \n canvas_right => Array (0)
page_topleft => Array (0)
page_topcenter => Array (0)
page_topright => Array (0)
page_bottomleft => Array (0)
page_bottomcenter => Array (0)
page_bottomright => Array (0)
renderCount => 0
template => [object XoopsTpl]
metas => Array (4)
http => Array (2)
Content-Script-Type => text/javascript
Content-Style-Type => text/css
meta => Array (0)
link => Array (0)
script => Array (1)
/include/xoops.js => Array (2)
type => text/javascript
src => http://www.mydomain.com/include/xoops.js
htmlHeadStrings => Array (0)
templateVars => Array (0)
use_extra_cache_id => 1
{$xoops_banner}
{$xoops_ccblocks} Array (0)
{$xoops_charset} ISO-8859-1
{$xoops_clblocks} Array (0)
{$xoops_contents} empty
{$xoops_crblocks} Array (0)
{$xoops_dirname} system
{$xoops_footer} Powered by XOOPS 2.0 © 2001-2007...
{$xoops_imageurl} http://www.mydomain.com/themes/default/
{$xoops_isadmin} 1
{$xoops_isuser} 1
{$xoops_langcode} en
{$xoops_lblocks} Array (2)
1 => Array (6)
id => 1
module => system
title => User Menu
weight => 0
lastmod => 1190556147
content => \n \n 5 => Array (6)
id => 5
module => system
title => Main Menu
weight => 0
lastmod => 1190556147
content => \n \n {$xoops_meta_author} XOOPS
{$xoops_meta_copyright} Copyright © 2001-2007
{$xoops_meta_description} XOOPS is a dynamic Object Oriented ba...
{$xoops_meta_keywords} news, technology, headlines, xoops, x...
{$xoops_meta_rating} general
{$xoops_meta_robots} index,follow
{$xoops_module_header} \nhttp://www.mydomain.com/themes/defaul...
{$xoops_uname} admin
{$xoops_upload_url} http://www.mydomain.com/uploads
{$xoops_url} http://www.mydomain.com
{$xoops_userid} 1
{$xoops_version} XOOPS 2.0.17.1 RC
assigned config file variables (outer template scope)
{#files#} Array (0)
{#vars#} Array (0)
3
Quote:
I don't recall encountering that.
I searched for the string "fail to open file", but couldn't find it. But I found "failed open file" in two places in include/cp_functions.php, at lines 277 and 303. These are writes to the files cache/adminmenu.php and cache/index.php, respectively.
Is your cache directory writeable?
4
The message goes by so fast because im on Fios that i can hardly see it but it is there! I had to get my girl to read it on the last install. Thats what she thought it said.
Anyway all three of the new sites have 0777 on the cache directory per WinSCP before the install and even now after the install. The installer gave green lights on all chmod before install.
5
And the files cache/adminmenu.php and cache/index.php were created?
What is WinSCP?
6
Quote:
Dave_L wrote:
And the files cache/adminmenu.php and cache/index.php were created?
What is WinSCP?
cache/adminmenu.php
cache/index.html
This above is all I see.
cache/index.php is not in the folder on all three sites.
-----
WinSCP is "secure ftp" sftp that uses putty.
Best I have ever used.
http://winscp.net/eng/index.php
7
Quote:
script_fu wrote:
cache/adminmenu.php
cache/index.html
This above is all I see.
I also have xoopseditor.php.
adminmenu.php (and xoopseditor.php) need to be writeable, too.
I got the error that script_fu refers to when moving a site from one server to another and adminmenu.php wasn't writeable.
HTH
8
Quote:
JAVesey wrote:
Quote:script_fu wrote:
cache/adminmenu.php
cache/index.html
This above is all I see.
I also have xoopseditor.php.
adminmenu.php (and xoopseditor.php) need to be writeable, too.
I got the error that script_fu refers to when moving a site from one server to another and adminmenu.php wasn't writeable.
HTH
I only have the two files above in my cache folder. Are there more files missing?
9
The upgrade instructions in the Upgrade directory are wrong.
Quote:
Upgrade script instructions
--------------------------------------------
- Unzip the package
- Upload the *CONTENT* of the htdocs directory to your XOOPS root directory
- Upload the upgrade *FOLDER* inside your XOOPS root directory
- Login as an administrator
- Point your browser : /upgrade/
- Follow the instructions
- DELETE THE upgrade FOLDER YOU JUST UPLOADED TO YOUR SERVER !!!
These instructions do not tell you to delete mainfile.php and the Install folder from htdocs before uploading. That's a disaster waiting to happen. Correct instructions are in release_notes.txt.
You shouldn't have to look for the right instructions, and they certainly should be in the Upgrade folder. That's the first place anyone would look. And, IMHO, the instructions should be in a file named "upgrade.txt".
Jere
...
10
Quote:
jfmoore wrote:
These instructions do not tell you to delete mainfile.php.....
Provided your mainfile.php on the remote server had the correct CHMOD setting of 444 then it wouldn't be overwritten.
However, I do agree with what you say about the correct instructions and where they should be located.
437 user(s) are online (170 user(s) are browsing Support Forums)
Members: 0
Guests: 437
more...
Stats |
Goal: |
$100.00 |
Due Date: |
Sep 30 |
Gross Amount: |
$0.00 |
Net Balance: |
$0.00 |
Left to go: |
$100.00 |
|