Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
JoAnne
Worker
Worker



Joined: Oct 18, 2005
Posts: 127
Location: NYC

PostPosted: Fri Jun 25, 2010 1:12 pm Reply with quote

Not sure why or what I was suppose to change but didn't:

I installed 2.4 to my second site. Changed the database in the config. Everything else is pulling from the correct database but the Site Info block is reading from the first site database. The second site is displaying users from the first database instead of the second database.... everything else on the site is pulling from the correct second database Confused
 
View user's profile Send private message Visit poster's website
JoAnne







PostPosted: Sat Jun 26, 2010 1:52 pm Reply with quote

Confused
 
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Sat Jun 26, 2010 2:43 pm Reply with quote

is this the same site info block from the current release?
 
View user's profile Send private message Visit poster's website
JoAnne







PostPosted: Sat Jun 26, 2010 5:53 pm Reply with quote

spasticdonkey wrote:
is this the same site info block from the current release?


I updated both of my sites with 2.4 and I am using the the site info block that came with it.

any ideas of what is happening?
 
slackervaara
Worker
Worker



Joined: Aug 26, 2007
Posts: 236

PostPosted: Sun Jun 27, 2010 12:02 am Reply with quote

Have you tried to empty the cache in the web browser? I always do that when strange things happen.
 
View user's profile Send private message
spasticdonkey







PostPosted: Sun Jun 27, 2010 6:24 am Reply with quote

I noticed the block uses $user_prefix and $prefix, are they both set correctly in config.php?
 
JoAnne







PostPosted: Sun Jun 27, 2010 6:28 am Reply with quote

slackervaara wrote:
Have you tried to empty the cache in the web browser? I always do that when strange things happen.


I do that all the time. That's not the problem.

It's very strange. The rest of the site is pulling from the correct database, it's just the Site Info block that is pulling from the wrong database Confused
 
spasticdonkey







PostPosted: Sun Jun 27, 2010 7:09 am Reply with quote

we were posting at the same time, in case you missed this...

spasticdonkey wrote:
I noticed the block uses $user_prefix and $prefix, are they both set correctly in config.php?


is this a conversion or a new install? What info is it pulling from the other site? Everything or just some of the data?
 
JoAnne







PostPosted: Sun Jun 27, 2010 7:47 am Reply with quote

spasticdonkey wrote:
we were posting at the same time, in case you missed this...

spasticdonkey wrote:
I noticed the block uses $user_prefix and $prefix, are they both set correctly in config.php?


is this a conversion or a new install? What info is it pulling from the other site? Everything or just some of the data?


I'll check that now.

Both sites were upgrades.

It's pulling membership, people online, page hits, etc. All the info that appears in the Site Info block is from the first site and not the second site.

Thanks

JoAnne
 
JoAnne







PostPosted: Sun Jun 27, 2010 7:57 am Reply with quote

$user_prefix and $prefix are set correctly in config.php

Confused
 
spasticdonkey







PostPosted: Sun Jun 27, 2010 9:22 am Reply with quote

hmmm, weird.

I would probably try sql logging in rnconfig to try and see exactly what is going on.
$loglevel = 4;

so just to be clear, you upgraded 2 sites and for some reason the site info block is pulling the same info for both sites?
 
JoAnne







PostPosted: Sun Jun 27, 2010 9:42 am Reply with quote

spasticdonkey wrote:

so just to be clear, you upgraded 2 sites and for some reason the site info block is pulling the same info for both sites?


Yes that is correct. Has never happened before. I can't figure out why as everything looks correct. I am not an expert by any means.... but I have upgraded several times before, even from non RN versions.
 
JoAnne







PostPosted: Sun Jun 27, 2010 10:22 am Reply with quote

spasticdonkey wrote:

I would probably try sql logging in rnconfig to try and see exactly what is going on.
$loglevel = 4;


Set loglevel = 4

rnlogs does not state any errors

this is the only reference to 'Site info'

June 27, 2010, 11:05 am SQL was: SELECT bposition FROM nuke_blocks WHERE title='Site Info v2.2.2'

Doesn't state anywhere from which database it is pulling from
 
JoAnne







PostPosted: Sun Jun 27, 2010 10:39 am Reply with quote

I am going to upload that block again from the RN 2.4 download just to see if that makes any difference..... it's the same one but it can't hurt to try it.
 
JoAnne







PostPosted: Sun Jun 27, 2010 11:01 am Reply with quote

JoAnne wrote:
I am going to upload that block again from the RN 2.4 download just to see if that makes any difference..... it's the same one but it can't hurt to try it.


Well that didn't help, but no surprises there.

The 'Who's Online' is correct, but the 'Site info' block is stating how many is online at the other site Laughing very strange Confused
 
spasticdonkey







PostPosted: Sun Jun 27, 2010 11:11 am Reply with quote

Just out of curiosity, try this block instead and see if the results are similar.. [ Only registered users can see links on this board! Get registered or login! ]
 
JoAnne







PostPosted: Sun Jun 27, 2010 1:44 pm Reply with quote

spasticdonkey wrote:
Just out of curiosity, try this block instead and see if the results are similar.. [ Only registered users can see links on this board! Get registered or login! ]


That block is displaying the correct info
 
JoAnne







PostPosted: Wed Jun 30, 2010 11:18 am Reply with quote

Will RN Team work on a fix for this? or should I just use the other site block which I will have to customize?

Thank you!

JoAnne
 
spasticdonkey







PostPosted: Wed Jun 30, 2010 9:53 pm Reply with quote

I could never really understand what was causing this behavior. Maybe someone else has an idea? Until we can reproduce it, it's hard to know what to fix Sad
 
JoAnne







PostPosted: Thu Jul 01, 2010 4:39 am Reply with quote

spasticdonkey wrote:
I could never really understand what was causing this behavior. Maybe someone else has an idea? Until we can reproduce it, it's hard to know what to fix Sad


Does anyone else have two sites on the same server? A main site and then a second site both using RN 2.4? Maybe then it could be reproduced.

I could add a third test site to see if it is reproduced if that would help. I could give access to my sever and sites to someone on the RN Team as well.


Thanks

JoAnne
 
JoAnne







PostPosted: Mon Jul 12, 2010 4:33 am Reply with quote

Could someone at least tell me what was changed in this block because this did not happen until I upgraded?

or if you can't do that does anyone have an older version of this block so I can compare the changes myself?

Thank you

JoAnne
 
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Mon Jul 12, 2010 5:33 am Reply with quote

The block was not changed as far as I can remember. All I can offer is if you want to give me FTP access to the site I will look at it.

_________________
"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. 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©