Koozali.org: home of the SME Server

PHPNuke doesn't display properly :(

tstarkey

PHPNuke doesn't display properly :(
« on: October 04, 2001, 03:45:59 PM »
I set up PHPnuke 5.2 last night on my caldera 3.1 workstation pc, with little pain at all.....So I decided, why not use my new found program and set it up on the work Intranet/Internet site.....In theroy it worked....but when i log into the site http://mycompany.mydomain/admin.php   I actually see the php script, not the page like on my caldera pc.  I tried it with chmod -R 555, and chmod -R 777, and chmod -R 755....it has got me stumped.....

Oh please help me....

Troy

Mike Kelly

Re: PHPNuke doesn't display properly :(
« Reply #1 on: October 04, 2001, 08:24:21 PM »
Have you made sure the iBay in question where you configured PHPnuke is setup to allow execution of PHP, CGI, etc...?

See the SME / e-smith documentation here:

http://www.e-smith.org/docs/manual/5.0/ibaycreation.html

Chaloner Hale

Re: PHPNuke doesn't display properly :(
« Reply #2 on: October 05, 2001, 06:37:43 AM »
If you happen to be running 4.1.2, visit the bugs section and look up the know bug "PHP doesn't work in Primary i-bay". There is a fix to this problem in the download area.

tstarkey

Re: PHPNuke doesn't display properly :(
« Reply #3 on: October 07, 2001, 03:09:39 PM »
Thanks, I'll give them both a go....If you don't hear back from me, it all worked fine....Thankyou for your reply's :)

tstarkey

Re: PHPNuke doesn't display properly :(
« Reply #4 on: October 17, 2001, 02:56:09 PM »
Thanks heaps for your help.....I ended up fixing the problem, it was with MySQL database accessing the nuke database....

But, with a quick visit over to www.mysql.com it appears that all i had to do was grant myself privileges to view the database....for those in the same boat a myself, i shall let them in on a little secret...

1) first create the iBay, as stated in the message by Mike Kelly (thanks Mike)

2) untar your PHPNuke in your new ibay.

3) chmod 666 all files and 777 all directoried relating to the phpnuke site.

4) cd \to\your\ibay\html\sql  and list the directory contents, and verify that you can see a file called "nuke.sql"

5) type mysqladmin create nuke

6) type mysql nuke < nuke

7) and this is the part that was most needed and made everything work for me......

shell> mysql --user=root mysql
mysql> GRANT ALL PRIVILEGES ON *.* TO root@localhost;

if that doesn't work, try replacing root with admin  :)

8) cd \to\your\ibay\html\nuke  and vi your config.php.....all you need to change is your domain....the localhost should work fine... Well, it did for me, and I am OVER THE MOON WITH HAPPINESS !!!

Thanks for your time, and I hope I have helped out with this indepth installation.....

Troy Starkey
http://www.bowenbytewise.com.au