vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   MAF: (Moderator Application Form & Application Rating Module) (https://vborg.vbsupport.ru/showthread.php?t=77340)

sabret00the 09-02-2005 12:55 PM

Quote:

Originally Posted by djsydeburnz
hmmm . . .

ran the script by calling it directly cuz ive been getting some emails. got this:

Shortlisting Email Sent To eclypz
Shortlisting Email Sent To Bucho

Fatal error: Call to undefined function: log_cron_action() in /home/httpd/vhosts/syde-sho.com/httpdocs/forums/includes/cron/maf_cron.php on line 163

this is what is on line 163:

log_cron_action($logmessage, $nextitem);

due to running it directly, it's not included by your cron.php or whatever it's called so it has no idea where the function lies.

AlexUK 09-02-2005 04:11 PM

I am getting this error:

Warning: main(DIR/includes/adminfunctions.php): failed to open stream: No such file or directory in /home/lounge/public_html/forums/modcp/global.php on line 34

Fatal error: main(): Failed opening required 'DIR/includes/adminfunctions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lounge/public_html/forums/modcp/global.php on line 34

any help?

sabret00the 09-02-2005 04:32 PM

Quote:

Originally Posted by AlexUK
I am getting this error:

Warning: main(DIR/includes/adminfunctions.php): failed to open stream: No such file or directory in /home/lounge/public_html/forums/modcp/global.php on line 34

Fatal error: main(): Failed opening required 'DIR/includes/adminfunctions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lounge/public_html/forums/modcp/global.php on line 34

any help?

what file you getting that on?

AlexUK 09-02-2005 05:11 PM

in the admin panel when I click the rate applications link.

Fallback 09-02-2005 05:54 PM

This is a great hack. The only thing is missing is an indicator of which applications you have already rated on the main app listing screen. On large boards with many apps its hard to see which ones you have already rated.

djsydeburnz 09-03-2005 12:14 AM

ok, im gonna try to put more info in here in hopes that i am including all things necessary to understand what is wrong.

everyday in my email i get this:

/bin/sh: line 1: ./includes/cron/maf_cron.php: No such file or directory

if i run the report directly to make sure i got things set up right i get this error:

Shortlisting Email Sent To eclypz
Shortlisting Email Sent To Bucho

Fatal error: Call to undefined function: log_cron_action() in /home/httpd/vhosts/syde-sho.com/httpdocs/forums/includes/cron/maf_cron.php on line 163

this is what is on line 163:

log_cron_action($logmessage, $nextitem);

in my maf_cron.php i have this for line 10 (line 9 removed, even though it was commented out):

chdir("/home/httpd/vhosts/syde-sho.com/httpdocs/forums/");

in my cronjob i have:

./includes/cron/maf_cron.php

is everything here set up right for me?

thanks in advance!

adill420 09-30-2005 09:33 AM

great hack but i still haven't seen even one person post a solution to this error..

Quote:

Warning: main(./includes/cron/maf-cron.php): failed to open stream: No such file or directory in /admincp/cronadmin.php on line 56

Fatal error: main(): Failed opening required './includes/cron/maf-cron.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gameown/public_html/forum/admincp/cronadmin.php on line 56

sabret00the 09-30-2005 09:41 AM

Quote:

Originally Posted by adill420
great hack but i still haven't seen even one person post a solution to this error..

yes you have you just didn't read the thread properly, you're maf_cron.php needs configuring, open it up in a php/text editor and you'll see the line that needs fixing.

sabret00the 09-30-2005 09:42 AM

Quote:

Originally Posted by Fallback
This is a great hack. The only thing is missing is an indicator of which applications you have already rated on the main app listing screen. On large boards with many apps its hard to see which ones you have already rated.

will bare that in mind.

sabret00the 09-30-2005 09:42 AM

Quote:

Originally Posted by AlexUK
in the admin panel when I click the rate applications link.

do you get that on any other file?


All times are GMT. The time now is 03:34 PM.

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.03926 seconds
  • Memory Usage 1,742KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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