Our Sponsors



PHP Nuke themes, stock photos, icons, drupal themes and more.
Custom jobs at low cost, free lancers and service buyers.



Western Studios :: View topic - 4images and chatserv patched files
Need Jobs done? Use our brand new Jobs Board to get your projects done at affordable prices.
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups     ProfileProfile   Log inLog in 


4images and chatserv patched files



 
Post new topic   Reply to topicprinter friendly version    Western Studios Forum Index -> 4 Images
Western Studios

Site Admin
Site Admin
~PHP Nuke User~

Platinum Subscriber

Posts: 3353
Staff
Next Group: 1647 posts
admin(Mark) wrote:

For those having problems installing 4images with chatsev patched files, use the fix below to get your module working.

Open modules/Gallery/includes/page_header.php and on about line 36 find the following codes:
OR modules/Gallery/includes/global.php

Code:

if(!eregi("modules.php",$_SERVER['PHP_SELF']))
{
      die("You can't access this file directly...");
     }
if(!isset($mainfile)) { include("mainfile.php");}
$index = 0;


change to:

Code:

if (!defined('MODULE_FILE')) {
   die ("You can't access this file directly...");
}
//if (defined('NUKE_FILE'))  { include("mainfile.php");}
define('INDEX_FILE', true);


Posted: Mon Nov 07, 2005 2:58 pm

Western Studios

WS Newbie
WS Newbie
~PHP Nuke User~


Posts: 7
Next Group: 43 posts
nuevonuke wrote:

Excuseme...but, I donīt have this code on my page_header.php

I have:

Code:
if (!defined('ROOT_PATH')) {
  die("Security violation");
}

Can I change it?

Posted: Sun Feb 26, 2006 8:15 pm

Western Studios

Site Admin
Site Admin
~PHP Nuke User~

Platinum Subscriber

Posts: 3353
Staff
Next Group: 1647 posts
admin(Mark) wrote:

Are you getting a blank page when visiting the gallery module? The main thing is to get rid of this part:

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

Posted: Sun Feb 26, 2006 8:46 pm

Western Studios

WS Newbie
WS Newbie
~PHP Nuke User~


Posts: 7
Next Group: 43 posts
nuevonuke wrote:

Hello,
when I acces to the Gallery with the link

www.supertramp.ws/modules/Gallery/index.php it works fine.

But when I does the integration, and access by the link of the Main Menu, it appears a blank page.

In my page_header.php, I didnt find the code

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


Posted: Mon Feb 27, 2006 5:29 am

Western Studios

WS Newbie
WS Newbie
~PHP Nuke User~


Posts: 15
Next Group: 35 posts
win2kpro wrote:

Thanks for this, keep up the good work Very Happy

Posted: Mon Feb 27, 2006 7:53 pm

Post new topic   Reply to topic    Western Studios Forum Index -> 4 Images All times are GMT - 5 Hours
Page 1 of 1

 
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 856 Wed Mar 23, 2005 6:47 pm
admin View latest post
No new posts PHP Nuke klips 0 admin 698 Fri Mar 18, 2005 6:52 pm
admin View latest post
No new posts Paypal success.php 1 Jabba 868 Fri Mar 04, 2005 7:00 pm
admin View latest post
No new posts Testing PHP tags 2 admin 847 Thu Mar 03, 2005 6:06 pm
admin View latest post
No new posts PHP Nuke Icons 0 admin 902 Mon Aug 23, 2004 4:05 pm
admin View latest post
 
Forums ©