Forum

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

WP2.7 Error: Division by zero

No Status Selected
UserPost

11:15 am
January 15, 2009


eliwagar

New Member

posts 2

1

Hi, after not beeing 100% content with featured content gallery I wanted to try Dynamic Content Gallery what seems to be exactly what I am looking for…but it doesn´t work on my site and I can´t figure out what I did wrong…

The Site is: http://eliwagar.com/blog

I am using WordPress 2.7

I put Dynamic Content Gallery into my header (right where I had featured content gallery before).

Now the line I added returns the following error:

Warning: include(0php’) [function.include]: failed to open stream: No such file or directory in /home/eliwagar/public_html/blog/wp-content/themes/df_marine/header.php on line 75

The error message apears 4 times, so I think it might have to do with assigning the categroies/posts to display…

I tried different things, but what I actually want is to display the last 5 posts regardsless of the category, so blank out the ID numbers in each Category ID and enter 1, 2, 3, 4, 5 in the Post Select boxes (what I did).

I added default images and provided the porper relative path.

I did not add the customs keys, but the plugin should pull the defualt images in that case, schouldn´t it?

i would really wish it worked :S

Nice greetings from Germany!

eli

1:05 pm
January 15, 2009


eliwagar

New Member

posts 2

2

Hmm. for some resaon this programming php thingie stuff just keeps bugging me with the sames things again and again Yell I deleted the line that calls the plugin, added it again and *whooosh* it works *tada!*.

And I SWEAR it´s the same caracters. Well, I THINK I COULD swear. No extra space either.

But whatever, now it is working! Wink

I just don´t have any clue how the whatever reads the line thinks there is a difference…kind of spooky. Maybe it has something to do with quantum theory and uncertainty…

So you can close this now – it works Kiss

9:21 pm
January 15, 2009


Ade

Admin

posts 1140

3

Hi,

Greetings from Switzerland!

Glad you have it working. Sometimes, when people cut and paste the DCG code into their template file, this error can happen. 

Anyway, glad it's fixed! Smile

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

7:11 pm
January 21, 2009


andrea.spila

New Member

posts 2

4

Hi there

had the same problem that eli (see below) had but the Gallery is still not working.

See the error here: http://www.e-schooloftranslation.org/

Could this be something to do with wrong path values in php.ini?

Apparently all parameters are ok in settings and paths have been doube-checked.

Help!

A

eliwagar said:

Hi, after not beeing 100% content with featured content gallery I wanted to try Dynamic Content Gallery what seems to be exactly what I am looking for…but it doesn´t work on my site and I can´t figure out what I did wrong…

The Site is: http://eliwagar.com/blog

I am using WordPress 2.7

I put Dynamic Content Gallery into my header (right where I had featured content gallery before).

Now the line I added returns the following error:

Warning: include(0php’) [function.include]: failed to open stream: No such file or directory in /home/eliwagar/public_html/blog/wp-content/themes/df_marine/header.php on line 75

The error message apears 4 times, so I think it might have to do with assigning the categroies/posts to display…

I tried different things, but what I actually want is to display the last 5 posts regardsless of the category, so blank out the ID numbers in each Category ID and enter 1, 2, 3, 4, 5 in the Post Select boxes (what I did).

I added default images and provided the porper relative path.

I did not add the customs keys, but the plugin should pull the defualt images in that case, schouldn´t it?

i would really wish it worked :S

Nice greetings from Germany!

eli


9:06 am
January 23, 2009


Ade

Admin

posts 1140

5

Hi Eli,

The only time I've seen this error is when, sometimes, people copy and paste this line into their template file, rather than type it:

<?php include (ABSPATH . '/wp-content/plugins/dynamic-content-gallery-plugin/dynamic-gallery.php'); ?>

All I can suggest is try typing this directly into your template file rather than copy and paste.

Hope this helps.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

6:24 pm
January 24, 2009


andrea.spila

New Member

posts 2

6

Hi there

strange but true, this did work!

Thank you very much for your kind support.

Andrea

7:45 am
January 27, 2009


Ade

Admin

posts 1140

7

Andrea,

Glad it worked. Smile

Ade.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

7:26 pm
March 1, 2009


tinybites

New Member

posts 2

8

I was having exactly this issue this morning.  Turns out that copying and pasting the code from DCG puts in "curly" quote marks instead of the correct single quote marks.  D'oh. Next time I'll remember to check all of my ' s!

11:15 am
March 2, 2009


Ade

Admin

posts 1140

9

Great! Glad it's working OK.

It's a funny one this – the majority of people can cut and paste this code without a problem, yet others get the division by zero error.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?