Previous Thread
Next Thread
Print Thread
Hop To
#167866 11/06/2006 11:03 PM
Joined: Oct 2006
Posts: 51
Likes: 1
M
Journeyman
Journeyman
M Offline
Joined: Oct 2006
Posts: 51
Likes: 1
While upgrading, I ran upgrade.php and found that I had missed transferring some files. I transferred the missing files, but when I did the "Check Files Again", I got the following message:

Quote
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/cust1/user1176702/html/forums/libs/mysql.inc.php on line 47

Fatal error: Call to undefined function: smartyprepare() in /home/cust1/user1176702/html/forums/libs/ubbthreads.inc.php on line 756

Help!

mjuby #167868 11/07/2006 12:13 AM
Joined: Oct 2006
Posts: 51
Likes: 1
M
Journeyman
Journeyman
M Offline
Joined: Oct 2006
Posts: 51
Likes: 1
Did a little more troubleshooting by running install.php to see if I could find the error. Step 1 gave me the following information:
[Linked Image from usawks.com]

The styles directory has its permission set to 777. I have tried changing the permissions on the /styles/_vti_cnf directory to 666 and 777, neither of which fix the problem.

Any suggestions?

mjuby #167869 11/07/2006 12:34 AM
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
You should remove the front page extensions for all folders inside your forum install, they aren't needed and may cause issues with your install. At the minimum you can delete that folder in your /styles folder.


- Allen
- ThreadsDev | PraiseCafe
Joined: Oct 2006
Posts: 51
Likes: 1
M
Journeyman
Journeyman
M Offline
Joined: Oct 2006
Posts: 51
Likes: 1
Thanks. FTP Voyager wouldn't let me delete the folder, so I temporarily removed the FrontPage extensions. This eliminated the error message. I still couldn't run the upgrade.php script, but was able to continue with the install.php. The board seems to be up and operating normally now ... is there anything that I need to fix as a result of using install.php instead of upgrade.php?

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
install.php creates the initial tables for use with ubb.threads and basic configuration files. upgrade.php will update the ubb database for a new version and should only be run during an upgrade.

And a completely unrelated message to Rick and all the other moderators... I just got the oddbar issue again cry


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
you can safely run fp extensions on your site - however I would recommend creating a folder called say forums, and maing that a subweb. Go into that subweb with FTP (make sure both the FP and FTP usernamemes are the same) and delete all the FP items.

You can now FTP to that sub-folder without any issues - and edit the rest of the site with FP.

The two will sit happily side by side.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 744 guests, and 147 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)