Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Other
Author Message
transit
Regular
Regular



Joined: Jun 01, 2010
Posts: 69

PostPosted: Mon Nov 22, 2010 5:56 pm Reply with quote

So I am getting errors on my site when running a simple script .php that takes another .php file and creates a .html file.

It has to be in the .htaccess probably for the ob_start function I am using. Since my sample.php is using NO attributes of RN itself. Any help would be greatly appreciated!

This is the script:

Code:
<?php

function buildhtml($strphpfile, $strhtmlfile) {

echo "Building ".$strhtmlfile."<br>";

// start buffering the output
ob_start();

include($strphpfile);

// write to a file
$data = ob_get_contents();
$fp = fopen ($strhtmlfile, "w");
fwrite($fp, $data);
fclose($fp);
ob_end_clean();
}

// make calls to the buildhtml function here, giving input and output filenames
buildhtml("sample.php","sample.html");
?>


Here is the sample.php file (for testing purposes)

Code:
<?php 

 Echo "Hello, World!";
 ?>


Now here is my current .htaccess file

Code:
#####################################################

#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#  THESE INSTRUCTIONS APPLY TO ALL Options DIRECTIVES
#
# The lines below this section that begin with Options may cause problems
# with some server configurations.  They are required for certain functions
# of Apache and RavenNuke(tm), but may already be set by your server administrator in a way
# that dissallows changing them in your .htaccess file.  If using any of them causes your server
# to error out, comment them out (add # to beginning of line), reload your site in your browser
# and test the functionality that is affected.  If it works, then it has been set by your server
# administrator and you do not need it set here.
#####################################################

# 'Options +FollowSymLinks' is required for use of mod_rewrite.
# Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

# 'Options +Includes' is required for use of Server Side Includes (SSI), such as custom error pages (like 403.shtml).
# Can be commented out if causes errors, see notes above.
Options +Includes

# 'Options -Indexes' is used for controlling directory listings if there is not an index file in a directory (and said directory is readable by the web server).
# A directory index will be automatically generated and this can prove to be a dangerous security issue.
# To disable this feature, use: 'Options -Indexes'
# To enable this feature (not advised), use: 'Options +Indexes'
# Can be commented out if causes errors, see notes above.
Options -Indexes

# -------------------------------------------
# Set search order for index files
# -------------------------------------------
DirectoryIndex index.php index.htm index.html

# -------------------------------------------
# For better performance set FileETag to NONE base on recommendations from
# http://developer.yahoo.net/blog/archives/2007/07/high_performanc_11.html
# -------------------------------------------
FileETag none

# -------------------------------------------
# Only process if mod_expires is installed
# For faster load times cache certain types of files for specific amount of time
# You should adjust these settings based upon your caching requirements
# -------------------------------------------
<IfModule mod_expires.c>
   ExpiresActive On
   # ExpiresDefault A86400
   ExpiresByType image/x-icon "access plus 1 month"
   ExpiresByType text/css "access plus 5 minutes"
   ExpiresByType image/gif "access plus 1 month"
   ExpiresByType image/png "access plus 1 month"
   ExpiresByType image/jpeg "access plus 1 month"
   ExpiresByType text/plain "access plus 15 minutes"
   ExpiresByType application/x-shockwave-flash "access plus 1 month"
   ExpiresByType video/x-flv "access plus 1 month"
   ExpiresByType application/pdf "access plus 1 month"
   # ExpiresByType text/html "access plus 5 minutes"
   ExpiresByType text/javascript "access plus 5 minutes"
   ExpiresByType application/x-javascript "access plus 5 minutes"
</IfModule>

# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files .ftaccess>
  deny from all
</Files>

<Files .staccess>
  deny from all
</Files>

# -----------------------------------------------------------------------------------------------------
# Leave this block commented out unless HTTPAuth is NOT available in your NukeSentinel(tm) Admin Panel.
# This code is mainly for use with CGI Authentication when PHP is compiled as CGI and NOT an Apache module.
# -----------------------------------------------------------------------------------------------------
# <Files admin.php>
#    <Limit GET POST PUT>
#       require valid-user
#    </Limit>
#    AuthName "Restricted"
#    AuthType Basic
#   AuthUserFile /path/to/your/.staccess
# </Files>
# -----------------------------------------------------------------------------------------------------

# -------------------------------------------
# If you use TegoNuke(tm) ShortLinks with RavenNuke(tm) then copy your ShortLinks.htaccess file/rules below inbetween
# the <IfModule> and </IfModule> tags.
# Only process if mod_rewrite is installed
# -------------------------------------------
<IfModule mod_rewrite.c>
   # TegoNuke(tm) ShortLinks - ShortLinks.htaccess file/rules should go after this line
#
# TegoNuke(tm) ShortLinks version 1.2.1
#
# This file contains the rewrite rules necessary to force Apache to recognize your
# shortened links and to rewrite them back to what PHP-Nuke is expecting.
# Copy and paste these rules into your .htaccess file in the root of your PHP-Nuke
# Installation.  Whatever you do, make sure these are ABOVE NukeSentinel's area
# where it is to write its blocked IPs.
#
# For better performance, remove sections of rules for modules that you do not have
# active on your site.
#

RewriteEngine on
RewriteBase /

RewriteRule ^index.html index.php
RewriteRule ^index.htm index.php

#Advertising
RewriteRule ^advertising-(client_report|view_banner)-([0-9]*)-([0-9]*).html modules.php?name=Advertising&op=$1&cid=$2&bid=$3 [L]
RewriteRule ^advertising-(sitestats|terms|plans|client_home|client_logout|client|logout).html modules.php?name=Advertising&op=$1 [L]
RewriteRule ^advertising.html advertising.html [L]

#Articles (News)
RewriteRule ^article-([0-9]*)-([a-z]*)-([0-9]*)-([-0-9]*).html article.html$1&mode=$2&order=$3&thold=$4 [L]
RewriteRule ^article-comments-([0-9]*)-([0-9]*).html modules.php?name=News&file=comments&sid=$1&pid=$2 [L]
RewriteRule ^article-reply-([0-9]*)-([0-9]*).html modules.php?name=News&file=comments&op=Reply&pid=$1&sid=$2 [L]
RewriteRule ^article-showreply-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=News&file=comments&op=showreply&tid=$1&sid=$2&pid=$3 [L]
RewriteRule ^article-([0-9-]*)-([a-z]*)-([0-9]*)-([0-9]*).html([0-9#]*) modules.php?name=News&file=article&thold=$1&mode=$2&order=$3&sid=$4$5 [L]
RewriteRule ^article-topic([0-9]*)-page([0-9]*).html article-topic-.html$1&pagenum=$2 [L]
RewriteRule ^article-category([0-9]*)-page([0-9]*).html modules.php?name=News&file=categories&op=newindex&catid=$1&pagenum=$2 [L]
RewriteRule ^article-category-([0-9]*).html modules.php?name=News&file=categories&op=newindex&catid=$1 [L]
RewriteRule ^article-print-([0-9]*).html modules.php?name=News&file=print&sid=$1 [L]
RewriteRule ^article-friend-([0-9]*).html modules.php?name=News&file=friend&op=FriendSend&sid=$1 [L]
RewriteRule ^article-friend.html modules.php?name=News&file=friend [L]
RewriteRule ^article-page-([0-9]*).html .html$1 [L]
RewriteRule ^article([1-9][0-9]*).* article.html$1 [L]
RewriteRule ^article-topic-([0-9]*).html article-topic-.html$1 [L]
RewriteRule ^article-comments.html modules.php?name=News&file=comments [L]
RewriteRule ^allnews.html modules.php?name=News&file=allindex [L]
RewriteRule ^news.html news.html [L]

#AvantGo
RewriteRule ^avantgo-print-([0-9]*).html modules.php?name=AvantGo&file=print&sid=$1 [L]
RewriteRule ^avantgo.html avantgo.html [L]

#Comments
RewriteRule ^article-comment-([0-9]*)-([0-9]*).html modules.php?name=News&file=comments&sid=$1&tid=$2 [L]
RewriteRule ^survey-comment-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&pollID=$1&tid=$2 [L]
RewriteRule ^comments.html comments.html [L]

#Content Plus
RewriteRule ^content-([0-9]*)-page([0-9]*).html contentid-.html$1&page=$2 [L]
RewriteRule ^content-cat-([0-9]*)-order-([0-9]*).html content-cat-.html$1&order=$2 [L]
RewriteRule ^content-cat-([0-9]*).html content-cat-.html$1 [L]
RewriteRule ^content-([0-9]*).html contentid-.html$1 [L]
RewriteRule ^content-send-page.html modules.php?name=Content&pa=send_page [L]
RewriteRule ^content-preview-page.html modules.php?name=Content&pa=preview_page [L]
RewriteRule ^content-add-page.html modules.php?name=Content&pa=add_page [L]
RewriteRule ^content-browse-tag-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*)-order-([0-9]*).html modules.php?name=Content&pa=browse_tag&tag=$1&order=$2 [L]
RewriteRule ^content-browse-tag-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*).html modules.php?name=Content&pa=browse_tag&tag=$1 [L]
RewriteRule ^content-browse-tags.html modules.php?name=Content&pa=browse_tags [L]
RewriteRule ^content-print-page-([0-9]*).html modules.php?name=Content&pa=print_page&pid=$1 [L]
RewriteRule ^content-print-pdf-([0-9]*).html modules.php?name=Content&pa=print_pdf&pid=$1 [L]
RewriteRule ^content-share-page-([0-9]*).html modules.php?name=Content&pa=share_page&op=FriendSend&pid=$1 [L]
RewriteRule ^content-send-page-([0-9]*).html modules.php?name=Content&pa=share_page&op=SendPage&pid=$1 [L]
RewriteRule ^content.html content.html [L]

#Downloads
RewriteRule ^formsview-(comments|details|editorial)-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Downloads&d_op=viewdownload$1&lid=$2&ttitle=$3 [L]
RewriteRule ^formsview-(comments|details|editorial)-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload$1&lid=$2 [L]
RewriteRule ^forms-mod-([0-9]*).html modules.php?name=Downloads&d_op=modifydownloadrequest&lid=$1 [L]
RewriteRule ^forms-broken-([0-9]*).html modules.php?name=Downloads&d_op=brokendownload&lid=$1 [L]
RewriteRule ^forms-shownew-([0-9]*).html modules.php?name=Downloads&d_op=NewDownloads&newdownloadshowdays=$1 [L]
RewriteRule ^forms-seldate-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=NewDownloadsDate&selectdate=$1 [L]
RewriteRule ^forms-file-([0-9]*).html modules.php?name=Downloads&d_op=getit&lid=$1 [L]
RewriteRule ^rateforms-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Downloads&d_op=ratedownload&lid=$1&ttitle=$2 [L]
RewriteRule ^rateforms-([0-9]*).html modules.php?name=Downloads&d_op=ratedownload&lid=$1 [L]
RewriteRule ^forms-(TopRated|MostPopular)-([0-9]*)-(num|percent).html modules.php?name=Downloads&d_op=$1&ratenum=$2&ratetype=$3 [L]
RewriteRule ^forms-(AddDownload|NewDownloads|MostPopular|TopRated).html modules.php?name=Downloads&d_op=$1 [L]
RewriteRule ^forms([0-9]*)-orderby([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&orderby=$2 [L]
RewriteRule ^forms([0-9]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^forms-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=search&query=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^forms-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*)-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=search&query=$1&orderby=$2 [L]
RewriteRule ^forms-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Downloads&d_op=search&query=$1 [L]
RewriteRule ^forms-outside-([0-9]*).html modules.php?name=Downloads&d_op=outsidedownloadsetup&lid=$1 [L]
RewriteRule ^forms-cat([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1 [L]
RewriteRule ^forms.html downloads.html [L]

#Encyclopedia
RewriteRule ^encyclopedia-([0-9]*)-page([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Encyclopedia&op=content&tid=$1&page=$2&query=$3 [L]
RewriteRule ^encyclopedia-([0-9]*)-page([0-9]*).html modules.php?name=Encyclopedia&op=content&tid=$1&page=$2 [L]
RewriteRule ^encyclopedia-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Encyclopedia&op=content&tid=$1&query=$2 [L]
RewriteRule ^encyclopedia-([0-9]*).html modules.php?name=Encyclopedia&op=content&tid=$1 [L]
RewriteRule ^encyclopedia-list-([0-9]*).html modules.php?name=Encyclopedia&op=list_content&eid=$1 [L]
RewriteRule ^encyclopedia-terms([0-9]*)-([A-Z]*).html modules.php?name=Encyclopedia&op=terms&eid=$1&ltr=$2 [L]
RewriteRule ^encyclopedia-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Encyclopedia&file=search&query=$1 [L]
RewriteRule ^encyclopedia-search.html modules.php?name=Encyclopedia&file=search [L]
RewriteRule ^encyclopedia.html encyclopedia.html [L]

#Feedback
RewriteRule ^contactus.html contact.html [L]

#Feeds - nukeFEED
RewriteRule ^feeds-([0-9]*).html modules.php?name=Feeds&fid=$1&type=HTML [L]
RewriteRule ^feeds-([0-9]*)-rss([0-9]*).xml modules.php?name=Feeds&fid=$1&type=RSS$2 [L]
RewriteRule ^feeds-([0-9]*)-atom([0-9]*).xml modules.php?name=Feeds&fid=$1&type=ATOM$2 [L]
RewriteRule ^feeds-map-opml.xml modules.php?name=Feeds&op=map&type=OPML [L]
RewriteRule ^feeds.html feeds.html [L]

#FAQ
RewriteRule ^faq.html faq.html [L]
RewriteRule ^faq-([0-9]*)-([a-zA-Z0-9\+\&\-\/%[:punct:]\.\;\ ]*).html faq.html?myfaq=yes&id_cat=$1&categories=$2 [L]

#Forums
RewriteRule ^ftopic-([0-9]*)-([0-9]*)-days([0-9]*)-order(desc|asc)-([A-Za-z0-9+_-]*).html forums.html?file=viewtopic&t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5 [L]
RewriteRule ^ftopic-([0-9]*)-days([0-9]*)-order(desc|asc)-([A-Za-z0-9+_-]*)-([0-9]*).html forums.html?file=viewtopic&t=$1&postdays=$2&postorder=$3&highlight=$4&start=$5 [L]
RewriteRule ^ftopic-([0-9]*)-days([0-9]*)-order(desc|asc)-([0-9]*).html forums.html?file=viewtopic&t=$1&postdays=$2&postorder=$3&start=$4 [L]
RewriteRule ^ftopic-voteresults-([0-9]*)-days([0-9]*)-order(desc|asc).html forums.html?file=viewtopic&t=$1&postdays=$2&postorder=$3&vote=viewresult [L]
RewriteRule ^ftopic-([0-9]*)-([0-9]*).html forums.html?file=viewtopic&t=$1&start=$2 [L]
RewriteRule ^ftopic-([0-9]*)-(previous|next|newest).html forums.html?file=viewtopic&t=$1&view=$2 [L]
RewriteRule ^ftopic(t|p)-([0-9]*)-([A-Za-z0-9+_-]*).html forums.html?file=viewtopic&$1=$2&highlight=$3 [L]
RewriteRule ^ftopic-([0-9]*)-(watch|unwatch)-([0-9]*).html forums.html?file=viewtopic&t=$1&$2=topic&start=$3 [L]
RewriteRule ^ftopic(t|p)-([0-9]*).html forums.html?file=viewtopic&$1=$2 [L]
RewriteRule ^ftopic(t|p)-([0-9]*).html#([0-9]*) forums.html?file=viewtopic&$1=$2#$3 [L]
RewriteRule ^forum-editprofile.html forums.html?file=profile&mode=editprofile [L]
RewriteRule ^forum-userprofile-([0-9]*).html profile-.html$1 [L]
RewriteRule ^forum-register-new.html forums.html?file=profile&mode=register&agreed=true [L]
RewriteRule ^forum-register-coppa.html forums.html?file=profile&mode=register&agreed=true&coppa=true [L]
RewriteRule ^forum-register.html forums.html?file=profile&mode=register [L]
RewriteRule ^forums-posting.html forums.html?file=modules&name=Forums&file=posting [L]
RewriteRule ^forum-faq-bbcode.html forums.html?file=faq&mode=bbcode [L]
RewriteRule ^ftopic-post-([0-9]*).html forums.html?file=posting&t=$1 [L]
RewriteRule ^ftopic-quote-([0-9]*).html forums.html?file=posting&mode=quote&p=$1 [L]
RewriteRule ^ftopic-vote-([0-9]*).html forums.html?file=posting&mode=vote&t=$1 [L]
RewriteRule ^ftopic-new-([0-9]*).html forums.html?file=posting&mode=newtopic&f=$1 [L]
RewriteRule ^ftopic-edit-([0-9]*).html forums.html?file=posting&mode=editpost&p=$1 [L]
RewriteRule ^ftopic-reply-([0-9]*).html forums.html?file=posting&mode=reply&t=$1 [L]
RewriteRule ^ftopic-delete-([0-9]*).html forums.html?file=posting&mode=delete&p=$1 [L]
RewriteRule ^ftopic-smilies.html forums.html?file=posting&mode=smilies&popup=1 [L]
RewriteRule ^ftopic-topicreview-([0-9]*).html forums.html?file=posting&mode=topicreview&t=$1&popup=1 [L]
RewriteRule ^forum-posting.html forums.html?file=posting [L]
RewriteRule ^forums-group([0-9]*)-([0-9]*).html forums.html?file=groupcp&g=$1&start=$2 [L]
RewriteRule ^forums-group([0-9]*).html forums.html?file=groupcp&g=$1 [L]
RewriteRule ^fsearch-author-([a-zA-Z0-9_-]*).html search-.html$1 [L]
RewriteRule ^fsearch-([0-9]*)-([0-9]*).html forums.html?file=search&search_id=$1&start=$2 [L]
RewriteRule ^fsearch-(unanswered|egosearch|newposts).html forums.html?file=search&search_id=$1 [L]
RewriteRule ^fsearch-results.html forums.html?file=search&mode=results [L]
RewriteRule ^forums-([^index][a-zA-Z0-9_-]*).html forums.html?file=$1 [L]
RewriteRule ^forum-c([0-9]*).html forums.html?file=index&c=$1 [L]
RewriteRule ^forum-mark.html forums.html?file=index&mark=forums [L]
RewriteRule ^forums.html forums.html?file=index [L]
RewriteRule ^forum-viewonline.html forums.html?file=viewonline [L]
RewriteRule ^forum-([0-9]*)-days([0-9]*)-([0-9]*).html forums.html?file=viewforum&f=$1&topicdays=$2&start=$3 [L]
RewriteRule ^forum-([0-9]*)-([0-9]*).html forums.html?file=viewforum&f=$1&start=$2 [L]
RewriteRule ^forum-([0-9]*)-mark.html forums.html?file=viewforum&f=$1&mark=topics [L]
RewriteRule ^forum-([0-9]*).html forums.html?file=viewforum&f=$1 [L]
RewriteRule ^forums.html forums.html [L]

#GCalendar
RewriteRule ^eventscalendar-(viewday|viewweek)-([0-9]*)-([0-9]*)-([0-9]*)-event([0-9]*)-print.html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4&e=$5&printable=1 [L]
RewriteRule ^eventscalendar-(submit|viewday|viewweek|friend)-([0-9]*)-([0-9]*)-([0-9]*)-event([0-9]*).html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4&e=$5 [L]
RewriteRule ^eventscalendar-(viewday|viewweek)-([0-9]*)-([0-9]*)-([0-9]*)-print.html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4&printable=1 [L]
RewriteRule ^eventscalendar-(submit|viewday|viewweek)-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4 [L]
RewriteRule ^eventscalendar-edit-([0-9]*)-([0-9]*)-([0-9]*)-event([0-9]*).html modules.php?name=GCalendar&file=edit&y=$1&m=$2&d=$3&eventId=$4 [L]
RewriteRule ^eventscalendar-edit-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&file=edit&y=$1&m=$2&d=$3 [L]
RewriteRule ^eventscalendar-submit-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&file=submit&y=$1&m=$2 [L]
RewriteRule ^eventscalendar-([0-9]*)-([0-9]*)-print.html modules.php?name=GCalendar&y=$1&m=$2&printable=1 [L]
RewriteRule ^eventscalendar-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&y=$1&m=$2 [L]
RewriteRule ^eventscalendar-submit.html modules.php?name=GCalendar&file=submit&op=submit [L]
RewriteRule ^eventscalendar-(viewweek|rsvp|friend).html modules.php?name=GCalendar&file=$1 [L]
RewriteRule ^eventscalendar.html eventscalendar.html [L]

#NSN Groups
RewriteRule ^groups-([0-9]*).html modules.php?name=Groups&op=GRInfo&gid=$1 [L]
RewriteRule ^groups.html groups.html [L]

#HTML Newsletter
RewriteRule ^html_newsletter-([0-9]*).html modules.php?name=HTML_Newsletter&file=index&op=msnl_nls_view&msnl_nid=$1 [L]
RewriteRule ^html_newsletter-copyright.html modules.php?name=HTML_Newsletter&op=msnl_copyright_credits [L]
RewriteRule ^html_newsletter.html html_newsletter.html [L]

#Journal
RewriteRule ^journal(search|delete|commentkill)-(bywhat|jid|onwhat)([a-zA-Z0-9]*)-(forwhat|ref)([a-zA-Z0-9_-]*).html journal.html?file=$1&$2=$3&$4=$5 [L]
RewriteRule ^journal-search-([0-9]*)-([a-zA-Z0-9_-]*).html journal.html?file=search&bywhat=$1&forwhat=$2 [L]
RewriteRule ^journal-([a-zA-Z0-9+]*)-(jid|onwhat|disp|op)-([a-zA-Z0-9+]*).html journal.html?file=$1&$2=$3 [L]
RewriteRule ^journal-search-([a-zA-Z0-9_-]*).html journal.html?file=search&bywhat=aid&exact=1&forwhat=$1 [L]
RewriteRule ^journal-edit.html journal.html?file=edit [L]
RewriteRule ^journal(file|op)-([a-zA-Z0-9]*).html journal.html?$1=$2 [L]
RewriteRule ^journal.html journal.html [L]

#Legal
RewriteRule ^legal-([a-zA-Z0-9_-]*).html legal-.html$1 [L]
RewriteRule ^legal.html legal.html [L]

#Members List
RewriteRule ^members-([a-z]*)-sortasc-([0-9]*).html modules.php?name=Members_List&file=index&mode=$1&order=ASC&start=$2 [L]
RewriteRule ^members-([a-z]*)-sortdesc-([0-9]*).html modules.php?name=Members_List&file=index&mode=$1&order=DESC&start=$2 [L]
RewriteRule ^members.html members.html [L]

#MetAuthors - only additional rewrite rules not already present will go here
RewriteRule ^metauthors.html metauthors.html [L]

#Project Tracking
RewriteRule ^project-([0-9]*).html modules.php?name=Project_Tracking&op=PJProject&project_id=$1 [L]
RewriteRule ^project-task-([0-9]*).html modules.php?name=Project_Tracking&op=PJTask&task_id=$1 [L]
RewriteRule ^project-([0-9]*)-submit-report.html modules.php?name=Project_Tracking&op=PJReportSubmit&project_id=$1 [L]
RewriteRule ^project-([0-9]*)-submit-request.html modules.php?name=Project_Tracking&op=PJRequestSubmit&project_id=$1 [L]
RewriteRule ^project-report-([0-9]*).html modules.php?name=Project_Tracking&op=PJReport&report_id=$1 [L]
RewriteRule ^project-request-([0-9]*).html modules.php?name=Project_Tracking&op=PJRequest&request_id=$1 [L]
RewriteRule ^project-report-comment-([0-9]*).html modules.php?name=Project_Tracking&op=PJReportCommentSubmit&report_id=$1 [L]
RewriteRule ^project-request-comment-([0-9]*).html modules.php?name=Project_Tracking&op=PJRequestCommentSubmit&request_id=$1 [L]
RewriteRule ^project-task-map.html modules.php?name=Project_Tracking&op=PJTaskMap [L]
RewriteRule ^project-report-map.html modules.php?name=Project_Tracking&op=PJReportMap [L]
RewriteRule ^project-request-map.html modules.php?name=Project_Tracking&op=PJRequestMap [L]
RewriteRule ^project.html project.html [L]

#NukeSentinel
RewriteRule ^nukesentinel.html modules.php?name=NukeSentinel [L]

#Private Messages
RewriteRule ^messages-read-(savebox|inbox|outbox|sentbox)-([0-9]*).html modules.php?name=Private_Messages&file=index&folder=$1&mode=read&p=$2 [L]
RewriteRule ^messages-start-(savebox|inbox|outbox|sentbox)-([0-9]*).html modules.php?name=Private_Messages&file=index&folder=$1&start=$2 [L]
RewriteRule ^messages-(reply|quote|edit)-([0-9]*).html modules.php?name=Private_Messages&file=index&mode=$1&p=$2 [L]
RewriteRule ^messages-post-([0-9]*).html messages-.html$1 [L]
RewriteRule ^messages-new.html modules.php?name=Private_Messages&file=index&mode=post [L]
RewriteRule ^messages-(sentbox|inbox|savebox|outbox).html modules.php?name=Private_Messages&file=index&folder=$1 [L]
RewriteRule ^messages-popup.html messages-popup.html [L]
RewriteRule ^messages.html messages.html [L]

#Recommend Us
RewriteRule ^recommend.html recommend.html [L]

#Reviews
RewriteRule ^reviews-new.html reviews.html?rop=write_review [L]
RewriteRule ^reviews-preview.html reviews.html?rop=preview_review [L]
RewriteRule ^reviews-([0-9]*)-page([0-9]*).html reviews.html?rop=showcontent&id=$1&page=$2 [L]
RewriteRule ^reviews-([0-9]*).html reviews.html?rop=showcontent&id=$1 [L]
RewriteRule ^reviews-comment-([0-9]*)-([[:punct:]?/:\-\'{}()._&a-zA-Z0-9+=\%\ ]*).html reviews.html?rop=postcomment&id=$1&title=$2 [L]
RewriteRule ^reviews-comment-([0-9]*).html reviews.html?rop=postcomment&id=$1 [L]
RewriteRule ^reviews-([0-9]*)-delete.html reviews.html?rop=del_review&id_del=$1 [L]
RewriteRule ^reviews-([0-9]*)-edit.html reviews.html?rop=mod_review&id=$1 [L]
RewriteRule ^reviews-([0-9]*)-delcomment-([0-9]*).html reviews.html?rop=del_comment&cid=$1&id=$2 [L]
RewriteRule ^reviews-([a-zA-Z0-9]*)-orderby-([a-z]*)-([a-zA-Z]*).html reviews.html?rop=$1&field=$2&order=$3 [L]
RewriteRule ^reviews-sortby-([a-zA-Z0-9]*).html reviews.html?rop=$1 [L]
RewriteRule ^reviews.html reviews.html [L]

#Search
RewriteRule ^search-([a-zA-Z0-9]*)-([0-9]*)-([0-9]*)-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*)-([a-zA-Z]*)-([0-9]*).html modules.php?name=Search&author=$1&topic=$2&min=$3&query=$4&type=$5&category=$6 [L]
RewriteRule ^search-([a-zA-Z0-9]*)-([0-9]*)-([0-9]*)-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*)-([a-zA-Z]*).html modules.php?name=Search&author=$1&topic=$2&min=$3&query=$4&type=$5 [L]
RewriteRule ^search-author-([a-zA-Z0-9]*).html modules.php?name=Search&author=$1 [L]
RewriteRule ^search-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*)-([a-zA-Z0-9_-]*).html modules.php?name=Search&query=$1&author=$2 [L]
RewriteRule ^search-([0-9]*).html modules.php?name=Search&query=&topic=$1 [L]
RewriteRule ^search-comments-([0-9]*).html modules.php?name=Search&type=comments&sid=$1 [L]
RewriteRule ^search-users.html modules.php?name=Search&type=users [L]
RewriteRule ^search.html* search.html [L]

#Statistics
RewriteRule ^stats-([0-9]*)-([0-9]*)-([0-9]*).html stats.html?op=DailyStats&year=$1&month=$2&date=$3 [L]
RewriteRule ^stats-([0-9]*)-([0-9]*).html stats.html?op=MonthlyStats&year=$1&month=$2 [L]
RewriteRule ^stats-([0-9]*).html stats-.html$1 [L]
RewriteRule ^advstats.html advstats.html [L]
RewriteRule ^stats.html stats.html [L]

#Stories Archive
RewriteRule ^archive-showall-([0-9]*).html archive.html?sa=show_all&min=$1 [L]
RewriteRule ^archive-showall.html archive.html?sa=show_all [L]
RewriteRule ^archive-([0-9]*)-([0-9]*)-([a-zA-Z]*).* archive.html?sa=show_month&year=$1&month=$2&month_l=$3 [L]
RewriteRule ^archive.html archive.html [L]

#Surveys
RewriteRule ^survey-results-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&op=results&pollID=$1&mode=$2&order=$3&thold=$4 [L]
RewriteRule ^survey-results-([0-9]*).html modules.php?name=Surveys&op=results&pollID=$1 [L]
RewriteRule ^survey-([0-9]*).html modules.php?name=Surveys&pollID=$1 [L]
RewriteRule ^survey-comments-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&pollID=$1&pid=$2 [L]
RewriteRule ^survey-comment-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&pollID=$1&tid=$2 [L]
RewriteRule ^survey-comment-([0-9]*)-(tid|pid)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&pollID=$1&$2=$3&mode=$4&order=$5&thold=$6 [L]
RewriteRule ^survey-commreply-([0-9]*)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=Reply&pid=$1&pollID=$2&mode=$3&order=$4&thold=$5 [L]
RewriteRule ^survey-commreply-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&op=Reply&pid=$1&pollID=$2 [L]
RewriteRule ^survey-showreply-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1&pollID=$2&pid=$3 [L]
RewriteRule ^survey-showreply-([0-9]*)-([0-9]*)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1&pollID=$2&pid=$3&mode=$4&order=$5&thold=$6 [L]
RewriteRule ^survey-showreply-([0-9]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1 [L]
RewriteRule ^survey-showreply-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1&mode=$2&order=$3&thold=$4 [L]
RewriteRule ^survey-comments.html modules.php?name=Surveys&file=comments [L]
RewriteRule ^surveys.html surveys.html [L]

#Submit_News
RewriteRule ^submit.html submit.html [L]

#Topics
RewriteRule ^topics.html topics.html [L]

#Top10
RewriteRule ^top-([[:print:]]*).html top.html?zx=$1 [L]
RewriteRule ^top.html top.html [L]

#WebLinks
RewriteRule ^viewlinkcomments-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html links.html?l_op=viewlinkcomments&lid=$1&ttitle=$2 [L]
RewriteRule ^viewlinkcomments-([0-9]+).html links.html?l_op=viewlinkcomments&lid=$1 [L]
RewriteRule ^viewlinkdetails-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html links.html?l_op=viewlinkdetails&lid=$1&ttitle=$2 [L]
RewriteRule ^viewlinkdetails-([0-9]+).html links.html?l_op=viewlinkdetails&lid=$1 [L]
RewriteRule ^vieweditorial-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html links.html?l_op=viewlinkeditorial&lid=$1&ttitle=$2 [L]
RewriteRule ^vieweditorial-([0-9]+).html links.html?l_op=viewlinkeditorial&lid=$1 [L]
RewriteRule ^modifylink-([0-9]+).html links.html?l_op=modifylinkrequest&lid=$1 [L]
RewriteRule ^brokenlink-([0-9]+).html links.html?l_op=brokenlink&lid=$1 [L]
RewriteRule ^outsidelink-([0-9]+).html links.html?l_op=outsidelinksetup&lid=$1 [L]
RewriteRule ^linkop-(MostPopular|mostpopular)-([0-9]+)-(num|percent).html linkop-MostPopular.html?ratenum=$2&ratetype=$3 [L]
RewriteRule ^linkop-(TopRated|toprated)-([0-9]+)-(num|percent).html linkop-TopRated.html?ratenum=$2&ratetype=$3 [L]
RewriteRule ^newlinks-([0-9]+).html modules.php\?name=Web_Links&l_op=NewLinks&newlinkshowdays=$1 [L]
RewriteRule ^linksnew-([0-9]+).html modules.php?op=modload&name=Web_Links&file=index&l_op=NewLinksDate&selectdate=$1 [L]
RewriteRule ^linkop-(AddLink|addlink).html modules.php?op=modload&name=Web_Links&file=index&l_op=AddLink [L]
RewriteRule ^linkop-(MostPopular|mostpopular).html modules.php?op=modload&name=Web_Links&file=index&l_op=MostPopular [L]
RewriteRule ^linkop-(NewLinks|newlinks).html modules.php?op=modload&name=Web_Links&file=index&l_op=NewLinks [L]
RewriteRule ^linkop-(RandomLink|randomlink).html modules.php?op=modload&name=Web_Links&file=index&l_op=RandomLink [L]
RewriteRule ^linkop-(TopRated|toprated).html modules.php?op=modload&name=Web_Links&file=index&l_op=TopRated [L]
RewriteRule ^ratelink-([0-9]*)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?op=modload&name=Web_Links&file=index&l_op=ratelink&lid=$1&ttitle=$2 [L]
RewriteRule ^ratelink-([0-9]*).html modules.php?op=modload&name=Web_Links&file=index&l_op=ratelink&lid=$1 [L]
RewriteRule ^viewlink-([0-9]*).html viewlink-.html$1 [L]
RewriteRule ^links-([0-9]*)-([a-zA-Z0-9]*).html links.html?file=index&l_op=viewlink&cid=$1&orderby=$2 [L]
RewriteRule ^links-([0-9]*)-([0-9]*)-([a-zA-Z0-9]*)-([0-9]*).html links.html?file=index&l_op=viewlink&cid=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^link-([0-9]*).html links.html?l_op=viewlink&cid=$1 [L]
RewriteRule ^links-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*)-([0-9]*)-orderby-([a-zA-Z]*)-([0-9]*) links.html?l_op=search&query=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^links-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*)-orderby-([a-zA-Z]*).html links.html?l_op=search&query=$1&orderby=$2 [L]
RewriteRule ^links-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html links.html?l_op=search&query=$1 [L]
RewriteRule ^links.html links.html [L]

#Your Account
RewriteRule ^userinfo-([a-zA-Z0-9_-]*).html userinfo-.html$1 [L]
RewriteRule ^account-avatarsave-([a-zA-Z0-9_-]*)-([\.a-zA-Z0-9_-]*).html modules.php?name=Your_Account&op=avatarsave&category=$1&avatar=$2 [L]
RewriteRule ^account-showcookiesredirect.html modules.php?name=Your_Account&op=ShowCookiesRedirect [L]
RewriteRule ^account-deletecookies.html modules.php?name=Your_Account&op=DeleteCookies [L]
RewriteRule ^account-showcookies.html modules.php?name=Your_Account&op=ShowCookies [L]
RewriteRule ^account-bypass-([a-z_]*).html modules.php?name=Your_Account&op=userinfo&bypass=1&username=$1 [L]
RewriteRule ^account-([a-z_]*).html modules.php?name=Your_Account&op=$1 [L]
RewriteRule ^account-gfx-([0-9]*).html index.php?gfx=gfx&random_num=$1 [L]
RewriteRule ^account.html account.html [L]

#Docs
RewriteRule ^info-([0-9]*)-edit-([0-9]*).html modules.php?name=Docs&do=show_doc&id=$1&edit_doc=$2 [L]
RewriteRule ^info-([0-9]*)-cat-([0-9]*).html modules.php?name=Docs&do=show_doc&id=$1&cat=$2 [L]
RewriteRule ^info-([0-9]*)-([A-Za-z0-9_-]*).html modules.php?name=Docs&do=show_doc&id=$1&title=$2 [L]
RewriteRule ^info-([0-9]*).html modules.php?name=Docs&do=show_doc&id=$1 [L]
RewriteRule ^info.html modules.php?name=Docs [L]

</IfModule>

# -------------------------------------------
# Error Document Redirects
# TegoNuke(tm) ShortLinks - ShortLinks.htaccess file MUST be before these directives (See above).
# If you add a new error redirect then you need to add the corresponding xxx.php file to modules/ErrorDocuments/
# Format:
#   ErrorDocument xxx /PATH_TO_ERROR_DOCUMENT_RELATIVE_TO_WEB_SERVER_DOCUMENT_ROOT
# -------------------------------------------

# -------------------------------------------
# To prevent a looping redirect anomaly we use this 3 line routine for 404 Page Not Found errors
# -------------------------------------------
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule (.*) /modules.php?name=ErrorDocuments&file=404&rs=$1 [NC,L,R]

ErrorDocument 400 /modules.php?name=ErrorDocuments
ErrorDocument 401 /modules.php?name=ErrorDocuments
ErrorDocument 403 /modules.php?name=ErrorDocuments
ErrorDocument 406 /modules.php?name=ErrorDocuments
ErrorDocument 500 /modules.php?name=ErrorDocuments

# -------------------------------------------
# Start of NukeSentinel(tm) DENY FROM area
# -------------------------------------------


And these are the errors I am getting when trying to run the script! (With ErrorReporting On)



Quote:
Warning: include(banners.php) [function.include]: failed to open stream: No such file or directory in /home/i7cgjo2s/public_html/themes/Trott/theme.php on line 54

Warning: include(banners.php) [function.include]: failed to open stream: No such file or directory in /home/i7cgjo2s/public_html/themes/Trott/theme.php on line 54

Warning: include() [function.include]: Failed opening 'banners.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/i7cgjo2s/public_html/themes/Trott/theme.php on line 54

Warning: file(themes/Trott/blocks.html) [function.file]: failed to open stream: No such file or directory in /home/i7cgjo2s/public_html/themes/Trott/theme.php on line 215

Warning: implode() [function.implode]: Invalid arguments passed in /home/i7cgjo2s/public_html/themes/Trott/theme.php on line 215

Warning: file(themes/Trott/blocks.html) [function.file]: failed to open stream: No such file or directory in /home/i7cgjo2s/public_html/themes/Trott/theme.php on line 215

Warning: implode() [function.implode]: Invalid arguments passed in /home/i7cgjo2s/public_html/themes/Trott/theme.php on line 215

Warning: file(themes/Trott/blocks.html) [function.file]: failed to open stream: No such file or directory in /home/i7cgjo2s/public_html/themes/Trott/theme.php on line 215

Warning: implode() [function.implode]: Invalid arguments passed in /home/i7cgjo2s/public_html/themes/Trott/theme.php on line 215

Warning: file(themes/Trott/blocks.html) [function.file]: failed to open stream: No such file or directory in /home/i7cgjo2s/public_html/themes/Trott/theme.php on line 215

Warning: implode() [function.implode]: Invalid arguments passed in /home/i7cgjo2s/public_html/themes/Trott/theme.php on line 215

Warning: file(themes/Trott/blocks.html) [function.file]: failed to open stream: No such file or directory in /home/i7cgjo2s/public_html/themes/Trott/theme.php on line 215

Warning: implode() [function.implode]: Invalid arguments passed in /home/i7cgjo2s/public_html/themes/Trott/theme.php on line 215

Warning: file(themes/Trott/left_center.html) [function.file]: failed to open stream: No such file or directory in /home/i7cgjo2s/public_html/themes/Trott/theme.php on line 89

Warning: implode() [function.implode]: Invalid arguments passed in /home/i7cgjo2s/public_html/themes/Trott/theme.php on line 89



ERROR: 500 - Internal Server Error
Internal Server Error
Hint: Check the .htaccess file for syntax/configuration errors

Your IP : 67.212.10.168
Page Requested : /sitemap/buildsitemap.php
Agent : Opera/9.80 (Windows NT 5.1; U; en) Presto/2.6.30 Version/10.61
Redirect Status : 500
 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Mon Nov 22, 2010 6:09 pm Reply with quote

I have never used ob_get_content but I believe it only returns the content of the output buffer so I'm suspecting you are trying to load an RN page into the buildhtml() function?
In any event, lets try and clarify things in case someone can help.
This is a stand alone script?
Have you tried to execute the script with the htaccess file temporarily renamed to determine if that is the problem?
Are you loading stand alone files into your buildhtml function?
 
View user's profile Send private message Send e-mail
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Mon Nov 22, 2010 6:10 pm Reply with quote

don't have time to look at your code, but looks like most of those errors are in your theme, calling template files and a banner script that are not there. the 500 error isn't necessarily related to your htaccess.. it could be due to a fatal problem with the script.. someone else will have to chime in for that Smile
 
View user's profile Send private message Visit poster's website
transit







PostPosted: Mon Nov 22, 2010 7:23 pm Reply with quote

I get this message when I rename .htaccess

Quote:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@trott.ca and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request


It works well on my other host (1and1) www.repository.ca/buildsitemap.php <- Script

and creates the following code:

Code:
Hello, World!
 
transit







PostPosted: Mon Nov 22, 2010 7:29 pm Reply with quote

Actually on second thought I moved my entire nuke root folder and all .htaccess etc files (everything) into a subfolder except for the script which has CHMOD of 777 and I am still getting the above error! So it can't be RN involved....

Do you think it has something to do with my host blocking fwrite or something equiv from the below script?! (Much like ReWrite in shortlinks) Is there a way to turn it on in my .htaccess file?

Thoughts?

Code:
<?php

function buildhtml($strphpfile, $strhtmlfile) {

echo "Building ".$strhtmlfile."<br>";

// start buffering the output
ob_start();

include($strphpfile);

// write to a file
$data = ob_get_contents();
$fp = fopen ($strhtmlfile, "w");
fwrite($fp, $data);
fclose($fp);
ob_end_clean();
}

// make calls to the buildhtml function here, giving input and output filenames
buildhtml("sample.php","sample.html");
?>



EDIT:

And to answer your questions.

Yes this is a stand alone script.

No I am not trying to load a RN page in it. I am simply trying to use a basic page first to get this working. See above "Hello world!" code. I am now pretty sure my host is blocking one of those functions in the php script.

And yes I have tried removing .htaccess

And I am loading basic stand-alone files into the buildhtml.
 
transit







PostPosted: Wed Nov 24, 2010 7:55 am Reply with quote

Bump any ideas? Alternate scripts?
 
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Wed Nov 24, 2010 1:07 pm Reply with quote

Try setting up a build directory with 0777 permissions.

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1123

PostPosted: Wed Nov 24, 2010 3:25 pm Reply with quote

Quote:
don't have time to look at your code, but looks like most of those errors are in your theme, calling template files and a banner script that are not there. the 500 error isn't necessarily related to your htaccess.. it could be due to a fatal problem with the script.. someone else will have to chime in for that


This is the solution:

Go to your theme and open theme.php

Remove the line who calls banner.php

You can paste the code here so we can help you further.
 
View user's profile Send private message
transit







PostPosted: Sat Nov 27, 2010 10:34 am Reply with quote

It has nothing to do with RN, even as a stand alone script it isnt working. It must be my host blocking one of the ob_start commands. I am looking for an alternate script to generate static htmls!
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sat Dec 04, 2010 10:28 am Reply with quote

yes, I suspect your host does not allow you to override certain PHP settings. See a little more here about turning on output buffering:

http://www.ravenphpscripts.com/faq-2-.html#17

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Other

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©