vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - PhotoPlog: The Lite Gallery (https://vborg.vbsupport.ru/showthread.php?t=101368)

Jaynesh 12-29-2005 03:41 PM

I have GD enabled but i still get this error..

Fatal error: Call to undefined function: imagetypes() in /home/vekaria/public_html/photoplog/functions.php on line 44

how can i fix it?

KayDEE 12-29-2005 03:53 PM

@calorie

Yeh, that's exactly what i was trying ... a seperate one for the gallery

Jaynesh 12-29-2005 04:10 PM

Also in the images folder, when i upload it creates a folder called '3' with the image i uploaded in there... why is this happening? maybe that is causing me that error..

KayDEE 12-29-2005 04:14 PM

@Jaynesh

that's your userid from vb

calorie 12-29-2005 04:18 PM

@Jaynesh: check phpinfo, see post3

@KayDEE: untested but try this bit...
Code:

style_fetch hook

if (defined('PHOTOPLOG_FWD'))
{
        $styleid = X; // X a number
}


KayDEE 12-29-2005 04:38 PM

@calorie

results in a Parse error with unexpected t_string

calorie 12-29-2005 04:46 PM

Code:

ACP -> Plugin System -> Add New Plugin

Product: PhotoPlog
Hook Location: style_fetch
Title: PhotoPlog Style Fetch
Plugin PHP Code:

if (defined('PHOTOPLOG_FWD'))
{
        $styleid = 1; // or 2 or 3 etc
}

Plugin is Active: Yes


Jaynesh 12-29-2005 04:52 PM

Quote:

Originally Posted by calorie
@Jaynesh: check phpinfo, see post3

@KayDEE: untested but try this bit...
Code:

style_fetch hook

if (defined('PHOTOPLOG_FWD'))
{
        $styleid = X; // X a number
}


What should i be looking for in phpinfo?
Ive got GD enabled but im still getting the error.
What shall i do :ermm:

KayDEE 12-29-2005 04:55 PM

argh .. i was trying to fit it in the php files :)

works perfectly ... thanks alot calorie

[high]* KayDEE hits install[/high]

calorie 12-29-2005 05:02 PM

@Jaynesh: save the following, named as a phpinfo.php file, FTP, call it from your browser, and search for GD. Do you see something like in the attachment?
Code:

<?php
phpinfo();
?>



All times are GMT. The time now is 11:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02576 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete