Author |
Message |
marcelolaia
Hangin' Around

Joined: Sep 28, 2005
Posts: 36
Location: Brazil
|
Posted:
Mon Apr 24, 2006 1:11 pm |
|
Hi all,
I post a topic in another forum here and after get some answers I decide to donwgrade my phpnuke7.7. I still use it form release date to now.
I download a script to downgrade form nukescripts.net and, after backup, I run it. Success!
After, I download PHP-Nuke-7.6.0.3.2b.tar.gz from nukescripts.net and upload all files to my provider.
The config.php file is Ok and all needed file is uploaded.
But, when I point to my site, I get this message:
Quote: | Fatal error: Call to undefined function: sql_connect() in /home/posgradu/public_html/mainfile.php on line 217 |
and line 217 is this:
Quote: | $dbi = sql_connect($dbhost, $dbuname, $dbpass, $dbname); |
I serch on google and here. Here I found this topic:
Only registered users can see links on this board! Get registered or login! and this one Only registered users can see links on this board! Get registered or login!
Anyone solve my problem!!!
Could you help-me????
Thank you very much |
_________________ Marcelo
http://www.posgraduando.org
O site do Pós-Graduando
Concurso, Notícias, CAPES, CNPq, FAPESP, Mestrado, Doutorado, Professor, Público, Universidade, Faculdade |
|
|
 |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Mon Apr 24, 2006 4:08 pm |
|
well in both samples uploading the files and overwriting was the solution(cause it wasnt overwritten)...
however,in your case to be sure delete them and upload new ones... |
|
|
|
 |
marcelolaia

|
Posted:
Tue Apr 25, 2006 4:23 am |
|
I dont delete... I overwritten they! |
|
|
|
 |
marcelolaia

|
Posted:
Tue Apr 25, 2006 4:38 am |
|
After your suggestion
hitwalker wrote: | in your case to be sure delete them and upload new ones... |
I figured out the problem!!! A lot of files in the db and includes folder was read only!!!! Then, I chmod in they and .... goal!!! Thank you! |
|
|
|
 |
hitwalker

|
Posted:
Tue Apr 25, 2006 5:10 am |
|
weird..  |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Tue Apr 25, 2006 5:34 am |
|
marcelolaia, on a *nix environment, the permissions should be 644, so read and execute. It might work with less, depending on how the web server and permissions are managed, but this is what I have seen the most and is somewhat "standard". |
_________________ 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! |
|
|
 |
marcelolaia

|
Posted:
Tue Apr 25, 2006 5:45 am |
|
Thank you, montego, I do 644 in all files. You are write, I use a *nix environment with apache and nukesentinel. Thank you again. |
|
|
|
 |
|