PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
bigbuck08
New Member
New Member


Joined: Sep 09, 2006
Posts: 9

PostPosted: Tue Jul 03, 2007 6:27 pm Reply with quote Back to top

I am having a problem with my site. I installed PHPNuke 7.9 and patched it to 3.3. It has its own database and is installed on a sub domain inside of its own folder. This seems to happen only when it is in its own folder. Below is the link to my site and the error message recieved.
Only registered users can see links on this board!
Get registered or login to the forums!


Code:
Fatal error: Cannot redeclare sql_logout() (previously declared in /home/***/public_html/nuke-themes/nuke/includes/sql_layer.php:128) in /home/***/public_html/includes/sql_layer.php on line 33
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3186
Location: near Albany NY

PostPosted: Tue Jul 03, 2007 8:03 pm Reply with quote Back to top

It almost looks like you have two /includes directories: one appears to be under /nuke and the other up at a higher level under /public_html. If you want to put your entire system under /public_html/nuke then you've got to take care not to FTP it to two places and if you have old versions lying around, well: back them up and get rid of them from your server.

It's also strange that this problem only seems to happen with forums. But you really need to look at your directory structure first and make sure that's right.
View user's profile Send private message Visit poster's website
bigbuck08
New Member
New Member


Joined: Sep 09, 2006
Posts: 9

PostPosted: Tue Jul 03, 2007 8:53 pm Reply with quote Back to top

When i created the sub domain it created the folder nuke-themes in my main directory and this is where i have that installation installed. My main website
Only registered users can see links on this board!
Get registered or login to the forums!
is installed in the public_html. As far as I am aware, my directory is the way it is supposed to be. My main site is Nuke Evolution and the one ine the nuke-themes/nuke/ directory is just regular phphnuke.
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Tue Jul 03, 2007 9:56 pm Reply with quote Back to top

Yeah, you've got two distro's overlapping it looks like.
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9133
Location: Arizona

PostPosted: Thu Jul 05, 2007 6:59 am Reply with quote Back to top

bigbuck08, make sure within your preferences you have the right full path to your installation that is in a subdirectory. I don't understand why it has placed this under yet another subdirectory? Why didn't the install place this at the root of your subdomain.

In addition, you may have to tweak the Forum Admin --> Configuration domain reference too (just remember that it is without the "http://" in front there).
View user's profile Send private message Visit poster's website
bigbuck08
New Member
New Member


Joined: Sep 09, 2006
Posts: 9

PostPosted: Thu Jul 05, 2007 9:01 am Reply with quote Back to top

The path for the preferences is
Only registered users can see links on this board!
Get registered or login to the forums!

I also changed it in the forums to nuke-themes.unique-gfx.com/nuke-themes/nuke/.
Whenever you create a sub domain it creates a folder for that sub domain inside of your main directory. As I am going to be having three different install of nuke, it would be impossible to have them setup in the root of the sub domain. That is why I installed it in the folder nuke/. It works fine when it is installed in the root of the sub domain, it messes up when I move it to its own folder.
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9133
Location: Arizona

PostPosted: Thu Jul 05, 2007 5:39 pm Reply with quote Back to top

I know that this works in RavenNuke, but I am not sure about standard 7.9 nuke. I suspect that you cannot make three separate subdomains because of a limit on the number of subdomains for your account?

The only other thing that I can think of is the NukeSentinel "Force URL" feature, which I would turn off, but I am not even sure that you are using NS.

I would make absolutely certain that all your files were uploaded properly. You may even give it another try with a good FTP client such as FileZilla (free from sourceforge.net).
View user's profile Send private message Visit poster's website
bigbuck08
New Member
New Member


Joined: Sep 09, 2006
Posts: 9

PostPosted: Thu Jul 05, 2007 6:56 pm Reply with quote Back to top

I have unlimited sub domains, but the three installs will be under one domain but each will have its own folder. nuke will be for PHPNuke, platinum, for Nuke Platinum, and evolution for Nuke Evolution. You are correct, I am using NS. I will turn that off if it isnt already and give it another try. I use SmartFTP as my FTP client.
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9133
Location: Arizona

PostPosted: Fri Jul 06, 2007 7:23 am Reply with quote Back to top

Hopefully NS was causing it, otherwise, you may need to have three separate subdomains rather than trying to use a subdirectory (since you say that it runs fine within the root of a subdomain).
View user's profile Send private message Visit poster's website
bigbuck08
New Member
New Member


Joined: Sep 09, 2006
Posts: 9

PostPosted: Sun Jul 08, 2007 1:06 pm Reply with quote Back to top

Sorry for the delay in replying, I was gone working on a house. NS isnt the cause.
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Sun Jul 08, 2007 3:42 pm Reply with quote Back to top

It still looks to me like your paths are wrong.
If your main domain is
Only registered users can see links on this board!
Get registered or login to the forums!
and your nuke is installed in a sub-domain called nuke-themes then the correct path should be;
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Send e-mail Visit poster's website
bigbuck08
New Member
New Member


Joined: Sep 09, 2006
Posts: 9

PostPosted: Sun Jul 08, 2007 5:22 pm Reply with quote Back to top

Correct. And the path to where my Nuke is installed is
Only registered users can see links on this board!
Get registered or login to the forums!
The paths are correct.
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Sun Jul 08, 2007 6:17 pm Reply with quote Back to top

So you have changed them from one of your previous posts which said
Quote:

The path for the preferences is
Only registered users can see links on this board!
Get registered or login to the forums!

I also changed it in the forums to nuke-themes.unique-gfx.com/nuke-themes/nuke/.
?
Sorry to appear dim but I'm just trying to make sure we are on the same wavelength.
View user's profile Send private message Send e-mail Visit poster's website
bigbuck08
New Member
New Member


Joined: Sep 09, 2006
Posts: 9

PostPosted: Sun Jul 08, 2007 8:07 pm Reply with quote Back to top

That is my fault. The path is correct on my site, i just wrote it wrong on here. It is what I said the second time.
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9133
Location: Arizona

PostPosted: Mon Jul 09, 2007 6:25 am Reply with quote Back to top

bigbuck08 wrote:
The path for the preferences is
Only registered users can see links on this board!
Get registered or login to the forums!

I also changed it in the forums to nuke-themes.unique-gfx.com/nuke-themes/nuke/.
Whenever you create a sub domain it creates a folder for that sub domain inside of your main directory. As I am going to be having three different install of nuke, it would be impossible to have them setup in the root of the sub domain. That is why I installed it in the folder nuke/. It works fine when it is installed in the root of the sub domain, it messes up when I move it to its own folder.


Then the above is not correct, if this is in fact still in your preferences and forums config.

It would have to be:
Only registered users can see links on this board!
Get registered or login to the forums!

nuke-themes.unique-gfx.com/nuke/

respectively.

I just cannot see why this is not working.
View user's profile Send private message Visit poster's website
bigbuck08
New Member
New Member


Joined: Sep 09, 2006
Posts: 9

PostPosted: Mon Jul 09, 2007 9:13 am Reply with quote Back to top

I dont understand it either. I know it is possible to install multiple installations of Nuke. The thing is, it has its own database and in its own folder to prevent things like this happening. I double checked and the paths are correct in both the forums and preferences as you had stated Montego.
View user's profile Send private message
bigbuck08
New Member
New Member


Joined: Sep 09, 2006
Posts: 9

PostPosted: Mon Jul 16, 2007 1:32 pm Reply with quote Back to top

After working on it some more, i am pretty sure it is a bug in standard phpnuke 7.9. Im working on running a test right now to see if I am correct.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum