No Response From Cleaner.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kennn
    Member
    • Mar 2006
    • 65
    • 3.6.x

    No Response From Cleaner.php

    I'm sure I'm probably doing something incorrectly but cannot figure out what. I've configured cleaner.php so that $active is set to true and $do_posts is set to true with this as my $replacer array:

    Code:
    $replacer = array(
    			"<div align=center>"	=> "[center]",
    			"</div>"	=> "[/center]",
    			"[smiley="	=> ":",
    			".gif]"	=> ":",
    			"<marquee>"	=> "[marquee]",
    			"</marquee>"	=> "[/marquee]"
    );
    But when I run cleaner.php in my browser, I get nothing but a blank white page...no error messages, no success messages, no progress messages...nada. And nothing has been changed in the database after two attempts to run cleaner.php. Please advise. Thanks!
  • srh
    New Member
    • Oct 2005
    • 7
    • 3.5.x

    #2
    I have the same problem, just a blank page.

    Code:
    $replacer = array(
       "æ" => "æ",
       "Ã¥" => "å",
       "ø" => "ø",
       "" => "",
       "" => ""
    This is a dump from the apache 2.2.0 log (btw running php5.1.2)

    [Sun Apr 23 00:59:22 2006] [error] [client 127.0.0.1] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required './../ImpExConfig.php' (include_path='.;C:\\php5\\pear') in C:\\xwebserver\\Apache\\htdocs\\xxxxx\\public\\impex\\cleaner.php on line 76
    [Sun Apr 23 00:59:22 2006] [error] [client 127.0.0.1] PHP Warning: include_once(./../db_mysql.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in C:\\xwebserver\\Apache\\htdocs\\xxxxx\\public\\impex\\cleaner.php on line 74
    [Sun Apr 23 00:59:22 2006] [error] [client 127.0.0.1] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening './../db_mysql.php' for inclusion (include_path='.;C:\\php5\\pear') in C:\\xwebserver\\Apache\\htdocs\\xxxxx\\public\\impex\\cleaner.php on line 74
    [Sun Apr 23 00:59:22 2006] [error] [client 127.0.0.1] PHP Warning: require_once(./../ImpExConfig.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in C:\\xwebserver\\Apache\\htdocs\\xxxxx\\public\\impex\\cleaner.php on line 76
    [Sun Apr 23 00:59:22 2006] [error] [client 127.0.0.1] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required './../ImpExConfig.php' (include_path='.;C:\\php5\\pear') in C:\\xwebserver\\Apache\\htdocs\\xxxxx\\public\\impex\\cleaner.php on line 76
    Last edited by srh; Sat 22 Apr '06, 3:03pm.

    Comment

    • srh
      New Member
      • Oct 2005
      • 7
      • 3.5.x

      #3
      While pasting apache log, word impex (\imp ex\) somehow got splitted, it's not the case in apache log.

      Comment

      • Zachery
        Former vBulletin Support
        • Jul 2002
        • 59097

        #4
        How old is your version of impex?

        Comment

        • srh
          New Member
          • Oct 2005
          • 7
          • 3.5.x

          #5
          1.45

          Comment

          • srh
            New Member
            • Oct 2005
            • 7
            • 3.5.x

            #6
            just tried 1.46 with same results

            Reinstalled server, now apache 2.0.55 / php 4.4.2 / mysql 4.0.26

            Tried impex there to, as before import went fine but still seeing a "blank" cleaner.php


            if i change $active = true; to false i get a "Not active" in reply, so i guess i'm using the cleaner.php the way i should?

            BTW after reinstallation i don't get any errors regarding cleaner.php at all.

            Please help....

            Comment

            • Zachery
              Former vBulletin Support
              • Jul 2002
              • 59097

              #7
              Do you have error reporting turned on in your php.ini file?

              Comment

              • srh
                New Member
                • Oct 2005
                • 7
                • 3.5.x

                #8
                Yes, but my apache error log is still clean as a wistle

                In php ini
                display_errors = On
                log_errors = On

                In httpd.conf
                LogLevel info

                If i run cleaner.php from other dir than impex/tools
                i see this in the php error log file

                Code:
                [B]Warning[/B]: main(./../db_mysql.php): failed to open stream: No such file or directory in [B]C:\xxxxserver\apache\htdocs\xxxxx\pub\cleaner.php[/B] on line [B]74[/B]
                
                [B]Warning[/B]: main(): Failed opening './../db_mysql.php' for inclusion (include_path='.;c:\php4\pear') in [B]C:\xxxxserver\apache\htdocs\xxxxx\pub\cleaner.php[/B] on line [B]74[/B]
                
                [B]Warning[/B]: main(./../ImpExConfig.php): failed to open stream: No such file or directory in [B]C:\xxxxserver\apache\htdocs\xxxxx\pub\cleaner.php[/B] on line [B]76[/B]
                
                [B]Fatal error[/B]: main(): Failed opening required './../ImpExConfig.php' (include_path='.;c:\php4\pear') in [B]C:\xxxxserver\apache\htdocs\xxxxx\pub\cleaner.php[/B] on line [B]76[/B]
                Noticed the (include_path='.;c:\php4\pear') in my php ini no 4 is mentioned, is that normal?

                Comment

                • srh
                  New Member
                  • Oct 2005
                  • 7
                  • 3.5.x

                  #9
                  Is there any other way i can do a "search and replace" it's only danish characters æ, ø, å, Æ, Ø, Å that need to be changed

                  pc is running locally with me as admin

                  Comment

                  • Jerry
                    Senior Member
                    • Dec 2002
                    • 9137
                    • 1.1.x

                    #10
                    Try adding the impex folder and the impex/tools folder to your PHP PATH so it can find the files.
                    I wrote ImpEx.

                    Blog | Me

                    Comment

                    • srh
                      New Member
                      • Oct 2005
                      • 7
                      • 3.5.x

                      #11
                      Please notice: If i run cleaner.php from other dir than impex/tools
                      i see this in the php error log file

                      Comment

                      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                      Working...