Previous Thread
Next Thread
Print Thread
Hop To
#167866 11/06/2006 10: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/06/2006 11:13 PM
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/06/2006 11:34 PM
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,199
Likes: 106
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,199
Likes: 106
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
Add a post to additional forums
by Larry Miller - 01/27/2023 2:58 PM
What happens to modified templates during the upgrade
by Michael_E6D9 - 01/13/2023 2:11 AM
Attachments broken after server migration
by jgeoff - 12/22/2022 3:33 PM
Post Moderation Issue
by FREAK - 11/24/2022 1:07 PM
Users cannot register
by - 07/04/2022 8:42 PM
Who's Online Now
1 members (Ruben), 188 guests, and 131 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 20221228)