| 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:
and this one
Anyone solve my problem!!!
Could you help-me????
Thank you very much |
|
|
|
 |
persona_non_grata

Joined: Posts: 0
|
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 Hangin' Around

Joined: Sep 28, 2005 Posts: 36 Location: Brazil
|
Posted:
Tue Apr 25, 2006 4:23 am |
|
I dont delete... I overwritten they! |
|
|
|
 |
marcelolaia Hangin' Around

Joined: Sep 28, 2005 Posts: 36 Location: Brazil
|
Posted:
Tue Apr 25, 2006 4:38 am |
|
After your suggestion
| persona_non_grata 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! |
|
|
|
 |
persona_non_grata

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

Joined: Aug 29, 2004 Posts: 7327 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". |
|
|
|
 |
marcelolaia Hangin' Around

Joined: Sep 28, 2005 Posts: 36 Location: Brazil
|
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. |
|
|
|
 |
|
|
|
|