Author |
Message |
blinksy
Hangin' Around

Joined: Apr 25, 2007
Posts: 33
|
Posted:
Wed Apr 25, 2007 10:17 pm |
|
Hi,
I previously had a version of phpnuke(which annoyed the hell out of me).
I have currently uploaded the old DB to a version of RN, and all seems fine, but the shortlinks.
When i activate shortlinks in rnconfig, the links are rewritten but i get a 404 error. I have checked with the host and mod reqrite is working fine.
Now, i feel i may have missed a step in the installation so here is what i did,
Changed the values to TRUE in rnconfig
Copied the shtaccess to htaccess
And is that all? Also, i see all the .htaccess files are 777 chmod? is that the way they should be or is this an upload error?
Also, i didnt run the nuke installer, i simply uploaded my old database(which has a few less tables). Could this also be a reason?
Just need a guide to the next place to look. Shortlinks was the main reason i chose RN.
Thanks all. |
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Thu Apr 26, 2007 2:01 pm |
|
There may be differences between your old database tables and the ones for Raven Nuke so the first thing you need to do is establish which version of phpNuke you were using originally and if you had made any updates to the forums.
If you have shortlinks turned on in htaccess and have copied the contents of the .Shortlinks filr to htaccess and made sure that mod rwrting is turned on (or your server supports it) Shortlinks should be working fine.
However, your priority should be ensuring yout tables have the correct structure before doing anything else. |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Thu Apr 26, 2007 6:21 pm |
|
Quote: |
Shortlinks was the main reason i chose RN
|
Well, I'll be honest with you, that is not the right reason to choose RN. I provide ShortLinks as a separate install as well. RN is the right choice for many, many, other reasons.
Key question: are you getting 404 errors on every link you try? In other words, try a few links in other modules and if they are all not working, then the issue is either:
1) you have not copied the ShortLinks.htaccess lines into your root level .htaccess file, or
2) Although your host says mod_rewrite is active, it is not.
Have you already tried what was posted here:
http://www.ravenphpscripts.com/postt7072.html |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
blinksy

|
Posted:
Thu Apr 26, 2007 10:22 pm |
|
Hi and thanks for your replies.
The current version of phpnuke is at http://www.metalthrone.net
Whereas the new version which i am implementing RN on is at
http://217.20.118.5/~metalthron/
I believe I was using nuke 7.6 or 7.7 on my current version.
To test the mod rewrite(even after the host said it was working) i placed this code
Code:RewriteEngine On
RewriteRule ^.*$ - [F]
|
in the htaccess and got the forbidden screen. Im assuming that means it is working?
I correctly copied and pasted the code to the .htaccess file on the root level.
Can anyone confirm that permissions to every folder are all 777 ? That is what they are at present? (Never seen this before).
Could that have something to do with it?
Another thing, The RN database has 110 tables, my current DB has only 98. Which table is linked to shortlinks?
I may be able to fiddle around with it.
Cheers. |
|
|
|
 |
Guardian2003

|
Posted:
Fri Apr 27, 2007 3:13 am |
|
No permissions should not be 777 on every directory so I'm at a loss as to why it is so on your hosting account.
Shortlinks doesn't use any DB tables so as I mentioned in my previus post, you need to compare your database structure to ensure the data you tranferred from your old table matches the new one.
For example, RN implements a (fixed) version of NSN Groups which affects the core modules and blocks tables so any data transferred from your older DB will be out of synch for those table as the newer tables have more fields. |
|
|
|
 |
blinksy

|
Posted:
Fri Apr 27, 2007 3:18 am |
|
Ok, i will set up a default database which RN uses and see if it works then.
SHould narrow it down.
Cheers. |
|
|
|
 |
montego

|
Posted:
Fri Apr 27, 2007 6:14 am |
|
Guys, the original issue posted is in regards to ShortLinks. I am thinking the additional database thread is off-topic. Maybe it deserves its own thread? I would like to help solve the 404 issue as I suspect it has nothing to do with the database differences. One problem at a time...
You are not going to get this to work as is in this kind of URL structure. If you were using a subdomain, it would work fine, but this is not going to work due to the additional "/~metalthron/".
For now, try adding the following right after your RewriteEngine line:
RewriteBase /~metalthron/
See if that works. |
|
|
|
 |
blinksy

|
Posted:
Fri Apr 27, 2007 7:20 am |
|
Thank you very much Sir  
A1.
That seemed to have fixed it nicely.(only if i remember to take it out of .htaccess when i change dns servers ;p)
Cheers |
|
|
|
 |
montego

|
Posted:
Fri Apr 27, 2007 8:05 am |
|
Quote: |
only if i remember to take it out of .htaccess when i change dns servers
|
Yup!
 |
|
|
|
 |
fresh
Regular


Joined: Mar 12, 2008
Posts: 74
|
Posted:
Fri Mar 14, 2008 2:59 am |
|
montego ur the best got ma ravennuke working fine so far. I had few issues with RN FISRT it was the sql tables n then invalid session then mod rewrite but after few search i got em all working and answers are all in this forum
next thing i wanna do is the image gallery which is the hard part maybe wait till yall release the next RN with a gallery
thanks everyone appreciate it |
|
|
|
 |
montego

|
Posted:
Fri Mar 14, 2008 6:22 am |
|
fresh wrote: | next thing i wanna do is the image gallery which is the hard part maybe wait till yall release the next RN with a gallery |
Don't hold your breath for a gallery... we are trying not to bloat this distro and only pick add-ons that have a wide potential use base. For example, I have only one site which needs a gallery, therefore, for me, it would be overkill and wasteful to have it on all my sites. |
|
|
|
 |
fresh

|
Posted:
Fri Mar 14, 2008 9:26 pm |
|
hmmm i know what u saying. I read couple of threads about mods that can use as a galleries but no luck. It's seems like no one really know what they should use. I heard some people say nukedgallery and some says gallery 2. I think all those gallery mods are so big and waste of time for me. I need something smaller which i can upload pictures in categorized album. I am trying to run a community website and i really need a gellery mod that i can simply add my event pictures and other concert pictures.
Does anyone knows any mods like that? |
|
|
|
 |
Guardian2003

|
Posted:
Sat Mar 15, 2008 1:54 am |
|
I think I'm using Gallery 1.5 on one site without ny problems. Install and configuration was painless but one thing it does lack is an archiving facility. |
|
|
|
 |
fresh

|
Posted:
Sat Mar 15, 2008 8:52 am |
|
so u saying gallery 1.5 is better and easier than the new version??? |
|
|
|
 |
Guardian2003

|
Posted:
Sat Mar 15, 2008 10:19 am |
|
NO, what I'm saying is that of all the galleries available I have only used a copule of them. But for my needs Gallery 1.5 was the easiest to install, setup and catered for my particular needs.
As always with any script that allows the remote uploading of files, there is always an inherent risk.
As for Coppermine, that might be good gallery sofware but it has been plagued with security problems.
Whether it has drawn attention from bad people because of it's popularity is open to deabte but personally, I wouldn't touch coppermine for any money and often turn down installation requests for it. |
|
|
|
 |
montego

|
Posted:
Sat Mar 15, 2008 12:02 pm |
|
Well, I know others have complained about Gallery2 (which you use NukedGallery to get it to run under your nuke site) and the difficulty in installation and maintenance, but I just installed it about a month back and even migrated a very old 1.4.x Gallery site to it and all went smoothly. So, I am not sure whether G2 has just gotten better in its installation tool or maybe my hosting set up is more "forgiving". I don't really know the answer. |
|
|
|
 |
fresh

|
Posted:
Sun Mar 16, 2008 3:16 am |
|
It is pretty odd to know that nuke doesnt have a picture album in it. I think it is pretty essential for a site. I used to have a nuked gallery but ma host told me to take it off since it has some security issues. Probably it was a old copy i downloaded from phpnukedownload.com or something like that. I think for now i will use picasa mod. I wonder if that work in ravennuke???it is made for phpnuke though
Oh and the other thing is why do they use gallery1 and gallery 2 both? isn't it the same thing?? i thought gallery 2 is the updated version like phpnuke 7.x and phpnuke 8.x |
|
|
|
 |
montego

|
Posted:
Sun Mar 16, 2008 8:17 am |
|
fresh, it is not "odd" in my mind that *nuke doesn't come with a picture album. In fact, I only use it on one of my sites. Therefore, if it came as standard, it would be a waste. So, it really is a personal preference/need kind of thing. Some will want it but many will not.
The only way to know if something will work is to try it. Take backups of your database and files ahead of time and then give it a try. Or, do what we profess all the time now, get yourself XAMP and load it locally, set up your site in it, and then you can test things until you are blue in the face without fear of messing up your live site.
No-one was professing to use both G1 and G2 on the same site. There were/are different sites I believe. Your are right in that G2 is the next generation of G1. |
|
|
|
 |
|