Latest Posts



· Exciting Marketplace Sale!
· Do you use cron jobs?
· WS Games v2 Theme Released
· Plug in Writers
· v4 on PHP 5
· New Western Studios Marketplace Website!
· Best free antivirus software



Radio Free Texas
The best and largest Texas/Red Dirt/Americana Music station on the web.
www.radiofreetexas.org

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

Comic Monsters
Comic Monsters News
www.comicmonsters.com

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

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


Advertise Here


Western Studios :: View topic - 4images and chatserv patched files
 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

Platinum Subscriber

Posts: 3176
Staff
Next Group: 1824 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


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

Platinum Subscriber

Posts: 3176
Staff
Next Group: 1824 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


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


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