News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)

Started by Charles Hill, June 16, 2008, 03:33:34 PM

Previous topic - Next topic

Kindred

any time that you see "eval?" it means that the error occurred in the build of the page, not in the code...    so it is likely that the error as reported is not in the file or line number that you see in the list, but is in something that either is called by or calls for the file.

(you will see this quite often with load.php and subs.php)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

LaughOften

Hi sorry to bother you again lol!!

I just tried to post an article in my blog and went I got this error:

Database Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
LIMIT 5' at line 4
File: /home/content/s/e/l/sellersarena/html/zCommunity/Sources/Subs-Articles.php
Line: 405 

Any help would be appreciated. lol!!

Charles Hill

Quote from: LaughOften on January 05, 2009, 11:21:18 PM
Hi sorry to bother you again lol!!

I just tried to post an article in my blog and went I got this error:

Database Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
LIMIT 5' at line 4
File: /home/content/s/e/l/sellersarena/html/zCommunity/Sources/Subs-Articles.php
Line: 405 

Any help would be appreciated. lol!!
http://www.simplemachines.org/community/index.php?topic=244848.msg1863921#msg1863921

haxial

this is GREAT!!! hope to see more features and bug fix soon.. thanks

TheDisturbedOne

Charles, Do you happen to have the latest version of Blog Community that I can use?  I like zCommunity, but it seems to powerful for me, and I don't know what happened to my BC.
Thanks.

Charles Hill

Quote from: TheDisturbedOne on January 07, 2009, 09:17:58 PM
Charles, Do you happen to have the latest version of Blog Community that I can use?  I like zCommunity, but it seems to powerful for me, and I don't know what happened to my BC.
Thanks.

There ya go... Keep in mind that I will not be providing support for BC once zComm gets to beta (soon).

QueenTiye

Quote from: Charles Hill on September 15, 2008, 04:57:21 PM
The sideWindows error...... That is actually a mistake I made with the default blog template.... I forgot to change something in the template_sideWindow($array) function....

I make changes on my template files and then I make the changes to the default template version.... Anyways.. find the following in Blog.template.php:
global $context;
// it's done this way for ordering purposes...
for ($i = 1; $i <= count($context['blog']['sideWindows']); $i++)
{


replace with:
global $context, $settings, $scripturl, $txt;

if (empty($context['viewing_blog_index']))
$sideWindows = $context['blog']['sideWindows'];
else
$sideWindows = $context['blog']['blogIndexSideWindows'];

// it's done this way for ordering purposes...
for ($i = 1; $i <= count($sideWindows); $i++)
{


This is probably why your side windows weren't working right.  Also... the rss_feed is a txt variable which *should* be in your Blog language file.



edit---
About that mysql error at line 724... did you do the fixes that I suggested?  It has to do with $context['visible_blogs'] being empty....

I too am getting the side windows error:

Quote
Apply Filter: Only show the errors with the same message
8: Undefined index: sideWindows
File: /home/admintiy/public_html/Themes/default/Blog.template.php (main sub template - eval?)
Line: 614

But the text I'm supposed to find is no where in the blog.template.php file.  Other suggestions?

QT

Charles Hill

That was a bug with Blog Community not zCommunity.

QueenTiye

Oh!  Is there a fix for blog community?  Where would I look?

QT

Charles Hill


TheDisturbedOne

Quote from: Charles Hill on January 07, 2009, 10:13:22 PM
Quote from: TheDisturbedOne on January 07, 2009, 09:17:58 PM
Charles, Do you happen to have the latest version of Blog Community that I can use?  I like zCommunity, but it seems to powerful for me, and I don't know what happened to my BC.
Thanks.
There ya go... Keep in mind that I will not be providing support for BC once zComm gets to beta (soon).
Thanks.  That's fine, as it seemed quite simple.  I wish you luck with zC!



Charles Hill



Charles Hill

I think what is happening is that the default theme style.css is being loaded from zcomm's default smf theme folder after your site's actual main css file... so the css classes of your site are being overwritten with zcomm's default smf theme's css.  I'll make the necessary corrections.

QueenTiye

Quote from: QueenTiye on January 08, 2009, 12:40:35 PM
I too am getting the side windows error:

But the text I'm supposed to find is no where in the blog.template.php file.  Other suggestions?

QT

Quote from: Charles Hill on January 08, 2009, 02:51:23 PM
That was a bug with Blog Community not zCommunity.

Quote from: QueenTiye on January 08, 2009, 03:56:55 PM
Oh!  Is there a fix for blog community?  Where would I look?

QT

Quote from: QueenTiye on January 08, 2009, 04:54:11 PM
Quote from: Charles Hill on January 08, 2009, 04:01:29 PM
What version are you using?

2.02 Beta

QT

Anything yet?

QT

cfehlinger

Hi. I've been searching for a fix for this...

SMF 1.1.7, moved from copied from old host to new with db so i could...uh..play with become proficient with mods. :) Everything was up and running so I installed zCommunity - despite the large warning error. This was the test site after all. Worked fine. So in the spirit of testing (i.e. bored, snow).

This time I kept getting package manager errors, so I tried the temp folder trick I've seen online and it worked. I think. The problem is that the link to "Control Panel" on the left under the zCommunity headers just takes me back to the index page of my forum.

A rundown -

-downloaded part 1 and 2 today
-uploaded folder from inside part 1 to main directory
-chmod to 777
-uploaded the.zip [nofollow] file of part 2 to packages, installed through the SMF admin (using the temp folder trick) after chmod packages to 777

It's kinda weird that the first time I got the warning and the install went fine and this time i did not get the warning and it's just sort of in limbo. The only visible difference I caught was that there seemed to be fewer files to install the second time around. This is what is listed:

install_db_edits.php (2698 bytes)
license.txt (4014 bytes)
other.xml (2719 bytes)
package-info.xml (974 bytes)
readme.txt (5693 bytes)
sources.xml (787 bytes)
themes.xml (5212 bytes)

Finally, if it means anything when I hover over the Control Panel link, I get "....../index.php?zc=bhp"

I also can't seem to make that link go away (tried changing Admin.template.php in default, and admin.php in sources)

Any suggestions are appreciated. Other than don't uninstall things that work. I learned that :(

Malo76

Hi to all!

Sorry for my english!
I have a great problem with installing zCommunity0.7.3. After installing zCommunity my site shows the follwoing Error

"Fatal error: Function name must be a string in /var/www/web41/html/forum/zCommunity/Sources/Load.php on line 435"

The Load.php shows the following on line 435
$zcFunc['log_error']('Failed to load zCommunity language file: ' . (string) $template_name);

Can someone help me?

Charles Hill

#959
Quote from: Malo76 on January 12, 2009, 07:56:21 AM
Hi to all!

Sorry for my english!
I have a great problem with installing zCommunity0.7.3. After installing zCommunity my site shows the follwoing Error

"Fatal error: Function name must be a string in /var/www/web41/html/forum/zCommunity/Sources/Load.php on line 435"

The Load.php shows the following on line 435
$zcFunc['log_error']('Failed to load zCommunity language file: ' . (string) $template_name);

Can someone help me?

In zCommunity/Sources/Load.php

Replace the following:
$zcFunc['log_error']('Failed to load zCommunity language file: ' . (string) $template_name);

With the following:

// make sure this function exists....
if (!function_exists($zcFunc['log_error']))
{
global $zc_sources_dir;
require_once($zc_sources_dir . '/Subs.php');
zcPrepareFuncNames();
}

if (function_exists($zcFunc['log_error']))
$zcFunc['log_error']('Failed to load zCommunity language file: ' . (string) $template_name);

Advertisement: