Koozali.org: home of the SME Server

trouble with postnuke install on 4.1.2

Pete the Feet

trouble with postnuke install on 4.1.2
« on: October 17, 2001, 05:47:49 PM »
Greetings.

Having problems getting postnuke running on 4.1.2

Followed the instructions at:

http://linux.made-to-order.net/article.php&mode=thread&order=0

http://www.bahraini.tv/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=18

always get as far as the www.mysite.com/admin.php bit and then get:

"Warning: Supplied argument is not a valid MySQL result resource in mainfile.php on line 141"

at the top of the login screen.

Any tips? I looked for the "remove Postnuke" howto (by J-L Boers) on e-smith.org so I can completely remove it but the link is broken.

Thanks. Any help appreciated.

Pete

AlecN

Re: trouble with postnuke install on 4.1.2
« Reply #1 on: October 18, 2001, 06:05:42 AM »
PostNuke is very easy to install on 4.1.2  Assuming that you have installed it into an ibay (just to see if permissions are your problem), I suggest that you chmod -R 777 html (Your html dir where PostNuke resides). After testing, MAKE SURE that you set permissions back (the easy way), to what they should be by going to that ibay with e-smith-manager and modify permissions accordingly. This advice assumes that you had no problems when running install.php (You may also have to do a GRANT statement etc.)

To de-install Postnuke, all you have to do is "drop" the database that was created and remove the associated ibay, using e-smith-manager.

Karl W. Mueller

Re: trouble with postnuke install on 4.1.2
« Reply #2 on: October 18, 2001, 05:42:51 PM »
I istalled postnuke v061 with the first mentioned howto without any problems, here is what I did:

1. Create an e-bay (read-group, write-group)  (local ftp-access without password) (cgi activated)


2. In the postnuke archive there is a dump-file for the database wich comes with postnuke. I installed it with dump. (the creation of a database, as in the mentioned howto didnt work for me, might be my fault.

3. Copy the files from the postnuke archive into the html directory of the i-bay.

4. Set all the directories to 777 and all the files to 666. (If it works, you should set the configuration-php-file and the admin.php to 600 for better security.

5. In the config-file you need some informations about your database. (password from /root/my.conf etc)

6. Run the installation and the admin.php

Thats all I did.  

Line 141 in my mainfile.php sets the query language. Cant imagine, that this is your problem because I have no settings here for the query-language.  Might be, you tried to make some changes.




Karl W. Mueller

guestFF

Re: trouble with postnuke install on 4.1.2
« Reply #3 on: October 18, 2001, 06:44:55 PM »
Pete,

I encountered the same issue. It turned out to be that apache wasn't supporting MySQL anymore. It was a while ago, but I could tell by using the script phpinfo mentined in DanBrown's How-To at

http://www.familybrown.org/howtos/php-upgrade-howto-2.html

I know it has something to do with administrative rights om MySQL (password)

Do a search in this forum on Mysql and PHP.

Hope it helps you,

Regards,

RequestedDeletion

Pete the Feet

Re: trouble with postnuke install on 4.1.2
« Reply #4 on: October 21, 2001, 06:23:37 PM »
you what?

That upgrade is for 5.0

I'm running 4.1.2

Pete the Feet

Re: trouble with postnuke install on 4.1.2
« Reply #5 on: October 21, 2001, 06:33:05 PM »
In fact, any info on finfing out the following would be useful:

What mySQL version is required. Howto find out what version I'm using.
What PHP version required. Howto find out what version I'm using.
ANy other parameters that would be useful.

cheers

Pete

Pete the Feet

Re: trouble with postnuke install on 4.1.2
« Reply #6 on: October 21, 2001, 06:35:30 PM »
i can get to the index.php page no problem.

even sign up as a new user and receive oassword by mail.

and i can get to the admin page too. but not log in as admin, because i couldn't get far enough through th einstallation procedure to set up an admin account :(

Can anyone help me here?

Thanks

Pete the Feet

guestFF

Re: trouble with postnuke install on 4.1.2
« Reply #7 on: October 21, 2001, 09:01:32 PM »
Sorry,

I mentioned the 'updated How-To' issue stayes the same. Reading your next posts I do not have any suggestion.

HFW