Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 46 guests, and 390 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
isaac
isaac
California
Posts: 1,004
Joined: April 2004
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 18
M4TT 12
FREAK 11
Ruben 8
mmkk 4
isaac 4
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
Fatal error using the new version 7.6 #259622
02/28/17 08:58 PM
02/28/17 08:58 PM
Joined: Jun 2006
Posts: 200
California
E
ehm1 Offline OP
enthusiast
ehm1  Offline OP
enthusiast
E
Joined: Jun 2006
Posts: 200
California
I had the version 7.6 installed and I'm getting couple 'fatal error':

1) Under Master Settings-->Feature Settings-->Attachments--> Test Directory, I get this error:
Fatal error: Call to undefined function smartyPrepare() in /home/imigcom/public_html/forum/libs/html.inc.php on line 692

Same error here:
2) Under Tools & Information -->Database tools -->Backup Tables --> Test Directory, I get this error:
Fatal error: Call to undefined function smartyPrepare() in /home/imigcom/public_html/forum/libs/html.inc.php on line 692

same error here:
3) Under Membership -->Profile Settings-->Avatars--> Test Directory, I get this error:
Fatal error: Call to undefined function smartyPrepare() in /home/imigcom/public_html/forum/libs/html.inc.php on line 692


Looks like every call to html.inc.php end up on this error. The line 692 is:
smartyPrepare($data);

Any help?

Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: Fatal error using the new version 7.6 [Re: ehm1] #259626
02/28/17 10:47 PM
02/28/17 10:47 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
Can I ask that you;

1) Clear your Template Cache directory (/templates/compile) by manually removing all the files within that directory. All except "index.html"
Dont worry, the files will automatically be rebuilt.

2) Check the permissions of that directory. IIRC, it should be 755.

In addition, it looks like the tests for being able to write to those tested directories are failing.
What does your "Control Panel » Permission Checks" page tell you?


After making the changes, attempt to do the same procedures you've listed in your post again. The errors you're getting are server specific.

smartyPrepare($data); is the code which preps the entire page, before handing off to the Smarty template engine.

Re: Fatal error using the new version 7.6 [Re: ehm1] #259628
02/28/17 10:54 PM
02/28/17 10:54 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
The /templates/compile folder should be 777 IMO


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.
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!
Re: Fatal error using the new version 7.6 [Re: ehm1] #259635
02/28/17 11:31 PM
02/28/17 11:31 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
Originally Posted by Gizmo
The /templates/compile folder should be 777 IMO


👍

Re: Fatal error using the new version 7.6 [Re: ehm1] #259639
03/01/17 05:12 PM
03/01/17 05:12 PM
Joined: Jun 2006
Posts: 200
California
E
ehm1 Offline OP
enthusiast
ehm1  Offline OP
enthusiast
E
Joined: Jun 2006
Posts: 200
California
Follow instructions by Id242 and Gizmo:

Delete all files under /templates/compile but index

Check permissions on folders, both /templates and /templates/compile are 777

went to Tools & Information-->Permission Checks and got green "OK" on all lines

Test again all 3 directories and got the same issue, all responded with browser error:
Fatal error: Call to undefined function smartyPrepare() in /home/imigcom/public_html/forum/libs/html.inc.php on line 692


Let me know what else can I do to test it.
Tks.

Re: Fatal error using the new version 7.6 [Re: ehm1] #259640
03/01/17 05:23 PM
03/01/17 05:23 PM
Joined: Feb 2007
Posts: 1,318
Pennsylvania
JAISP Offline
veteran
JAISP  Offline
veteran
Joined: Feb 2007
Posts: 1,318
Pennsylvania
The folders that you are getting the failed or errors on, what are the file permissions on those folders?

What are the locations as entered in those settings boxes for those folders you're getting the failed and errors on?

Re: Fatal error using the new version 7.6 [Re: ehm1] #259641
03/01/17 05:26 PM
03/01/17 05:26 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Ehm, could you install the UBB.threads System Requirements Test and provide us with any information returned?

Could you try disabling the zlib compression option in the control panel as a test?
Dashboard -> Master Settings -> Primary Settings -> Advanced Settings (at the bottom) -> Enable Zlib Data Compression


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.
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!
Re: Fatal error using the new version 7.6 [Re: ehm1] #259642
03/01/17 06:02 PM
03/01/17 06:02 PM
Joined: Jun 2006
Posts: 200
California
E
ehm1 Offline OP
enthusiast
ehm1  Offline OP
enthusiast
E
Joined: Jun 2006
Posts: 200
California
OK. in parts on Jasper and Gizmo:

The folders permissions:

1) Under Master Settings-->Feature Settings-->Attachments--> Test Directory,
/home/imigcom/public_html/forum/attach = 777

2) Under Tools & Information -->Database tools -->Backup Tables --> Test Directory,
/home/imigcom/public_html/forum/admin/backup/ = 744

3) Under Membership -->Profile Settings-->Avatars--> Test Directory, I get this error:
/home/imigcom/public_html/forum/images/avatarsM = 755


the zlib compression was already disabled. I'm using shared server from Hostgator, and they do not permit compression allowed on that.

Below is the UBB.threads system requirements test. Seams normal to me:
System Requirements Met
Your system meets all of UBB.threads v7.6.0+'s PHP requirements.

Possible Problems
Possible problems have been detected, please see the individual messages below for more information.

The reported PHP 'max_input_vars' setting is currently set at or below the default setting (Current: 1000, Default: 1000), which could have issues if you have more than 33 forums; for more information, please see the UBBWiki entry "Issues with the PHP 'max_input_vars' Setting". Please see UBBWiki: maxinput
The 'max_execution_time' value (Default: 30) determines how long PHP can wait for a script to fully execute; we recommend a value of at least '60'. Please see UBBWiki: maxexecution


Additional Information
File Get Contents: Allows External URLs
GZip: GZip is supported on this system.
Maximum Execution Time: 30 Seconds
Maximum UBB.threads Version: v7.6.x (UBBWiki: "Server Requirements and Suggestions")
Maximum Upload File Size: 64M (see php.net for more information)
Memory Limit: 256M
MySQL: MySQL v5.0 or newer is required; please manually check that you meet this requirement.
PHP Interface: cgi-fcgi
PHP Version: v5.6.29
Reported Host: imigrar.com
Reported IP: 192.185.121.75
Reported OS: Linux
Reported Path: /home/imigcom/public_html
Reported Port: 80
Post Max File Size: 64M (can affect the upload size, see php.net for more information)
Time: The current, unadjusted, server time is: Wednesday, March 1st, 2017 at 04:57 PM, America/Chicago (-06:00)
ZLib: ZLib is supported on this system.

Re: Fatal error using the new version 7.6 [Re: ehm1] #259644
03/01/17 06:36 PM
03/01/17 06:36 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Ensure that these are set:
/templates 777
/templates/default 777
/templates/compile 777

I believe that this error is related to Smarty being unable to manage its compile directory:
Code
Fatal error: Call to undefined function smartyPrepare() in /home/imigcom/public_html/forum/libs/html.inc.php on line 692


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.
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!
Re: Fatal error using the new version 7.6 [Re: Gizmo] #259645
03/01/17 06:46 PM
03/01/17 06:46 PM
Joined: Jun 2006
Posts: 200
California
E
ehm1 Offline OP
enthusiast
ehm1  Offline OP
enthusiast
E
Joined: Jun 2006
Posts: 200
California
Gizmo,
I checked (and update /templates/compile) to 777.
Same error still

Tks by being interested in help.

Re: Fatal error using the new version 7.6 [Re: ehm1] #259646
03/01/17 07:01 PM
03/01/17 07:01 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Could you copy the chunk surrounding these errors from your error log? The lines preceding/after may point towards additional information, at least something to hint...


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.
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!

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Users Unable to Upload Avatar [Not a Bug]
by M4TT. 12/13/17 08:51 AM
Shout Box Sound Effect
by M4TT. 11/29/17 08:28 PM
Ad island
by TGCsanderson. 11/25/17 06:41 PM
Taking to long to connect to DB
by AstroCat. 11/24/17 12:34 PM
Forum Statistics
Forums36
Topics35,015
Posts190,544
Members12,045
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171106)