Author Topic: [FIX] - global.php file  (Read 13978 times)

0 Members and 1 Guest are viewing this topic.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
[FIX] - global.php file
« on: October 07, 2007, 02:00:48 PM »
/* This is very important fix */

This is fix for no access global.php file if no access from root file include ROOT_PATH for define.

find:

Quote
<?php

add after:

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

I test and is work.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline kai

  • Administrator
  • Addicted member
  • *****
  • Posts: 1.423
    • View Profile
    • 4images - Image Gallery Management System
Re: [FIX] - global.php file
« Reply #1 on: October 08, 2007, 10:03:24 AM »
?

The code IS already in global.php
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [FIX] - global.php file
« Reply #2 on: October 08, 2007, 02:20:36 PM »
I no get why ... I download package recent and no there ...  :|

If there now, Jan no say what is add and no add in news of forum ?  8O

Thank for post this ...
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline kai

  • Administrator
  • Addicted member
  • *****
  • Posts: 1.423
    • View Profile
    • 4images - Image Gallery Management System
Re: [FIX] - global.php file
« Reply #3 on: October 08, 2007, 04:35:15 PM »
I no get why ... I download package recent and no there ...  :|
Please download 4images 1.7.4 here and have a look in global.php
http://www.4homepages.de/4images/download.php

If there now, Jan no say what is add and no add in news of forum ?  8O

? I don't understand your question.
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [FIX] - global.php file
« Reply #4 on: October 08, 2007, 04:42:51 PM »
Quote
Please download 4images 1.7.4 here and have a look in global.php

I do download before ... I see different result. Same for $action in global. No post in news for change.  8O
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [FIX] - global.php file
« Reply #5 on: October 08, 2007, 08:15:56 PM »
@thunderstrike
... there are no changes in global.php to post in the news ...
... your "FIX" is already in global.php since version 1.7.4, version 1.7.3, version 1.7.2, version 1.7.1, version 1.7 a.s.o. ...

PS.
... is there a way to make your signature a little bit shorter, or to use smaller fonts ... ?
... in some threads we have only to scroll through your big signatures with one content line per post ...
... my finger is already worn out ... ;)
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [FIX] - global.php file
« Reply #6 on: October 08, 2007, 08:23:30 PM »
@Mawenzi - here is proof of package of 4images v.1.74 I download and no news for change.

This file I no edit a thing. Is fresh from package I download before. $action and $mode different too. No news announce - period.

For signature ... I have big screen.  :mrgreen:
How big is it for you ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [FIX] - global.php file
« Reply #7 on: October 08, 2007, 09:40:17 PM »
don't drink and write ;)

code IS there ALL the time..
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [FIX] - global.php file
« Reply #8 on: October 08, 2007, 10:05:39 PM »
Quote
don't drink and write

No get the mean but code is different for this one. Is change later after and no say to users.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [FIX] - global.php file
« Reply #9 on: October 08, 2007, 10:10:56 PM »
THUNDERSTRIKE,

FILE IS FROM 27.10.2006! and there are no changes!

and please stop now chit chat about nothing :P

STOP...

hmm... 27.10.2007 hmmmmmmmmmmmmm......
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [FIX] - global.php file
« Reply #10 on: October 08, 2007, 10:37:14 PM »
Quote
and please stop now chit chat about nothing

If no believe it - no say is about nothing. Users has right for know true :!:
and after all help I give on this forum - you should be grateful and no reply as such - so YOU stop :!:

All users:

Check constant for ZIP file from this site to be last update with gallery.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?