Our Sponsors



PHP Nuke Services
Need work done on your site? View our services for the best in phpnuke services.
www.westernstudios.net

PHP Nuke Downloads
The latest and best in php nuke downloads.
www.westernstudios.net

PHP Nuke Subscription
The #1 php nuke subscription module.
www.westernstudios.net

Theme Shop
Get the best in phpnuke themes, stock photos, icons from Western Studios themes shop.
shop.westernstudios.net

Live Tutorials
PHP, Photoshop, flash, illustrator tutorials.
www.live-tutorials.com




Western Studios :: View topic - 4 images integration to nuke 7.9
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups     ProfileProfile   Log inLog in 


4 images integration to nuke 7.9


Goto page 1, 2, 3  Next
 
Post new topic   Reply to topicprinter friendly version    Western Studios Forum Index -> 4 Images
Western Studios

WS Newbie
WS Newbie
~PHP Nuke User~


Posts: 8
Next Group: 42 posts
UliMue wrote:

Hello together

after 5 stupid posts to get enaugh points to download the 4images mod, now a real problem.

I like to integrate the 4 Images Gallery into my nukebased homepage. i've done all steps in your tutorial and have now the following Fatal Error when i try to start the Module:

Fatal error: Cannot redeclare stripos_clone() (previously declared in /homepages/41/xxxxxxxxx/htdocs/pferde/mainfile.php:122) in /homepages/41/xxxxxxxxx/htdocs/pferde/mainfile.php on line 122

Anything goes wrong - Any Idear what's happend?

Thanks for your help
UliMue

Posted: Thu Jan 19, 2006 2:11 pm

Western Studios

Site Admin
Site Admin
~PHP Nuke User~

Platinum Subscriber

Posts: 3308
Staff
Next Group: 1692 posts
admin(Mark) wrote:

hi try this. Open modules/Gallery/includes/page_header.php and search for

if(!isset($mainfile)) { include("mainfile.php");}

It is on about line 39

Delete that line and save and try it to see if the error is gone.

Posted: Thu Jan 19, 2006 2:32 pm

Western Studios

WS Newbie
WS Newbie
~PHP Nuke User~


Posts: 8
Next Group: 42 posts
UliMue wrote:

hey - very fast support - thx

The Fatal error are fixed
Now i've got a warning:

Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /homepages/41/xxxxxxxxxx/htdocs/pferde/modules/Gallery/global.php on line 279

It seems to be nearly the same reason

Posted: Thu Jan 19, 2006 2:42 pm

Western Studios

Site Admin
Site Admin
~PHP Nuke User~

Platinum Subscriber

Posts: 3308
Staff
Next Group: 1692 posts
admin(Mark) wrote:

hi, that error occurs when you have gzip enabled in your phpbb forum admin. You can either disable it from the forum configuration or go to line 247 in modules/Gallery/global.php and change the following:

Code:

$do_gzip_compress = 0;
if ($config['gz_compress'] == 1 && !isset($nozip)) {
  if (get_php_version() >= 40004) {
    if (extension_loaded("zlib")) {
      ob_start("ob_gzhandler");
    }
  }
  elseif (get_php_version() > 40000) {
    if (eregi("gzip", $HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"]) || eregi("x-gzip", $HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"])) {
      if (extension_loaded("zlib")) {
        $do_gzip_compress = 1;
        ob_start();
        ob_implicit_flush(0);
      }
    }
  }
}


to:
Code:
/*
$do_gzip_compress = 0;
if ($config['gz_compress'] == 1 && !isset($nozip)) {
  if (get_php_version() >= 40004) {
    if (extension_loaded("zlib")) {
      ob_start("ob_gzhandler");
    }
  }
  elseif (get_php_version() > 40000) {
    if (eregi("gzip", $HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"]) || eregi("x-gzip", $HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"])) {
      if (extension_loaded("zlib")) {
        $do_gzip_compress = 1;
        ob_start();
        ob_implicit_flush(0);
      }
    }
  }
}
*/


Save and check to see if the errors are gone.

Posted: Thu Jan 19, 2006 2:49 pm

Western Studios

WS Newbie
WS Newbie
~PHP Nuke User~


Posts: 8
Next Group: 42 posts
UliMue wrote:

thx a lot - it works - without any further errors or warnings.

Now i have to change the theme Wink

Posted: Thu Jan 19, 2006 3:01 pm

Post new topic   Reply to topic    Western Studios Forum Index -> 4 Images All times are GMT - 5 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
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


Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts PHP paste bin added 0 admin 767 Wed Mar 23, 2005 6:47 pm
admin View latest post
No new posts PHP Nuke klips 0 admin 608 Fri Mar 18, 2005 6:52 pm
admin View latest post
No new posts Paypal success.php 1 Jabba 782 Fri Mar 04, 2005 7:00 pm
admin View latest post
No new posts Testing PHP tags 2 admin 763 Thu Mar 03, 2005 6:06 pm
admin View latest post
No new posts PHP Nuke Icons 0 admin 812 Mon Aug 23, 2004 4:05 pm
admin View latest post
 
Forums ©