Author |
Message |
southern
Client
![](modules/Forums/images/avatars/42f55d56513263cbdd206.jpg)
Joined: Jan 29, 2004
Posts: 624
|
Posted:
Sun Jan 22, 2012 9:37 pm |
|
The upgrade of RavenNuke 2.50.00 went fine and I deleted the Installation folder, then went to my site. I have this error:
Code:
Fatal error: Call to a member function sql_query() on a non-object in /home/xxxxxxx/public_html/index.php on line 43
|
First time I've ever seen an error when upgrading RavenNuke. Where's it coming from? Thanks. |
_________________ Computer Science is no more about computers than astronomy is about telescopes.
- E. W. Dijkstra
Last edited by southern on Mon Jan 23, 2012 11:58 pm; edited 1 time in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/3234de284ee21bd39eecd.jpg)
Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Sun Jan 22, 2012 9:57 pm |
|
Try to re upload the RN 2.5 index.php file. |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
southern
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 22, 2012 10:04 pm |
|
I did. Still the error. I think it is looking for the Tricked Out News News module, so I re-uploaded that. Still the error. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
southern
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 22, 2012 10:09 pm |
|
This is lines 43 to 49 of the RN 2.5 index.php
Code:
$result = $db->sql_query('SELECT `main_module` FROM `' . $prefix . '_main`');
if ($result) {
$row = $db->sql_fetchrow($result, SQL_ASSOC);
if (isset($row['main_module'])) {
$name = $row['main_module'];
} else {
$name = '';
|
It seems to be looking for the main module, the one set as the index module. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 22, 2012 10:13 pm |
|
Have you made any changes to the install files that came with 2.5?
Did you change anything with your original install? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
southern
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 22, 2012 10:19 pm |
|
No. I added defines to language files for Sommaire but that is it. Otherwise the install files were out of the box and the installation went fine, tables were updated with no errors. The only error is in the index.php. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
Site Admin
![](modules/Forums/images/avatars/Dilbert/Dilbert_-_Dogbert_King.gif)
Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania
|
Posted:
Mon Jan 23, 2012 12:18 am |
|
What version of PHP are you running? |
_________________ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jan 23, 2012 12:24 am |
|
You need to re download and upload again. You have some major problems as I am getting Fatal error: Call to undefined function check_html() when trying to go to your account. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
southern
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jan 23, 2012 12:42 am |
|
I'm running the same version my webhost is, PhP 5.2. I'm also getting an errror in admin.php
Code:
Fatal error: Call to undefined function get_lang() in /home/xxxxxxx/public_html/admin.php on line 42
|
I have d/led it and I'll try re-u/ling it. Sigh. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
southern
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jan 23, 2012 1:23 am |
|
I re-d/led and re-u/led the RavenNuke 2.5 files.
I'm still getting the error in index.php as well as in admin.php.
I've never seen errors like these. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Mon Jan 23, 2012 1:29 am |
|
Just as an fyi, he hosts with me . I haven't looked at anything but try downloading the other file. In other words, if you're using the .7z file, try using the .rar file. I'm just trying to eliminate possible causes. If that doesn't help, then try a fresh installation as a test. If that works then you know the problem is in your upgrade process. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
southern
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jan 23, 2012 10:04 am |
|
I d/led the .rar first and those are the files I u/led initially. Then after the problem occurred I d/led and u/led the .7z files with the same errors. At least I think I u/led the files. While FZ was working I took a break and my girlfriend logged me off and I got confused. I will try a fresh install now that I'm awake lol |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
southern
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jan 23, 2012 11:59 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jan 23, 2012 1:12 pm |
|
southern, would you be willing to give me temporary FTP access? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
southern
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jan 23, 2012 1:15 pm |
|
Sure, I'd be willing. I just now gave it to nuken though. I'm waiting to see what he finds. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jan 23, 2012 1:25 pm |
|
I'm sure Nuken will figure it out. If not let me know. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jan 23, 2012 1:47 pm |
|
I think I have it fixed. The mainfile.php was blank for some reason. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
southern
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Jan 23, 2012 11:56 pm |
|
The mainfile and a lot of other files up and down directories, but I replaced every 0 byte file I found and it looks great. The errors were not the fault of RavenNuke 2.5 but my own fault for not verifying files. Thanks, nuken, for the help. And thanks for the offer of help, Palbin. ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|