Jump to content
InvisionCommunity.de - Der Deutsche Invision Community Support
Sign in to follow this  
Ray Charles

Skin-Import erzeugt keine PHP-Dateien

Recommended Posts

Wenn ich eine Skin-Datei importiere, steht zwar das dort, aber im skin_cache Ordner befinden sich trotzdem keine erforderlichen PHP-Dateien (CHMOD ist richtig gesetzt)

Skin Set Imported! (id: 8)

Rebuilding Macros for set desert...

Done.... (Macro ID: 8)...

Rebuilding CSS for set desert...

Rebuilding css file for css_8...

Rebuilding HTML templates cache for set desert...

Done HTML templates rebuild... (id: 8)

Rebuilding wrappers cache for set desert...

Done wrapper rebuild... (id: 8)

Rebuilding the skin set ID relationship cache...

Mein zweites Problem, der Import der Image-Datei geht auch nicht, da kommt die Fehlermeldung:

The XMLarchive import doesn't appear to be valid - please check the file and try again. (richtige CHMODS überall gesetzt)

Kann irgendwer helfen?

Danke

Edited by Ray Charles

Share this post


Link to post

Bin kein Experte aber dennoch hier eine Vermutung von mir:

Gehe mal in das ACP, System Settings, General Configuration

Suche dort mal nach "Use Safe Mode Skins?"

Denn dort steht:

This setting is automatically set during installation but you can override the setting here if you wish. Safe mode skins doesn't cache to PHP files and uses the database exclusively.

Geht denn Dein Skin überhaupt ?? Wenn ja, dann liegt hier Deine Lösung ?

Nachtrag:

Lt. Deine Profile hast Du ja noch das IPB 1.3.x - meine aber mal dort gab es diese Funktion aber auch. Muste also mal suchen gehen ;-)

Edited by kdt

Share this post


Link to post

Bin kein Experte aber dennoch hier eine Vermutung von mir:

Gehe mal in das ACP, System Settings, General Configuration

Suche dort mal nach "Use Safe Mode Skins?"

Denn dort steht:

This setting is automatically set during installation but you can override the setting here if you wish. Safe mode skins doesn't cache to PHP files and uses the database exclusively.

Geht denn Dein Skin überhaupt ?? Wenn ja, dann liegt hier Deine Lösung ?

Nachtrag:

Lt. Deine Profile hast Du ja noch das IPB 1.3.x - meine aber mal dort gab es diese Funktion aber auch. Muste also mal suchen gehen ;-)

die richtige IPB-Version benutze ich schon :P ich benutze nebenbei aber auch 1.3.1.. das ist aber wo anders.

Das mit den Safemode skins dachte ich mir auch schon, hab dann dort mal auf yes gestellt. aber das bringt es ja nicht, denn dann funzt zwar das skin, aber die PHP-Dateien sind immer noch nicht aufm server.

Zudem kann ich so ja immer noch nicht die Imagedatei hochladen.

hat das vielleicht was mit der ini.php zu tun? ich glaube, die war am Anfang da, ich hab sie dann gelöscht, weil ich mir dachte die brauch ich für nichts..

Share this post


Link to post

Äh, Du meinst bestimmt die INIT.PHP ???

Na ich meine mal, die sollte schon da sein ...

<?php


/*

+--------------------------------------------------------------------------

|   Invision Power Board v2.1.7

|   =============================================

|   by Matthew Mecham

|   (c) 2001 - 2005 [url="https://www.invisionpower.com/clients/index.php?app=nexus&module=promotion&section=referral&id=5636&direct=aHR0cDovL3d3dy5pbnZpc2lvbnBvd2VyLmNvbS8%3D"]Invision Power Services[/url], Inc.

|   http://www.invisionpower.com

|   =============================================

|   Web: http://www.invisionboard.com

|   Time: Thu, 13 Jul 2006 09:13:12 GMT

|   Release: 

|   Licence Info: http://www.invisionboard.com/?license

+---------------------------------------------------------------------------

|   > $Date: 2005-10-10 14:08:54 +0100 (Mon, 10 Oct 2005) $

|   > $Revision: 23 $

|   > $Author: matt $

+---------------------------------------------------------------------------

|

|   > INIT (Yes, it is)

|   > Basic class to initialize defines and other stuff

|   > Date started: Wednesday 19th July 2005 (14:57)

|

+--------------------------------------------------------------------------

*/


/**

* INIT File

*

* Sets up globals

*

* @package  InvisionPowerBoard

* @author  Matt Mecham

* @copyright	[url="https://www.invisionpower.com/clients/index.php?app=nexus&module=promotion&section=referral&id=5636&direct=aHR0cDovL3d3dy5pbnZpc2lvbnBvd2VyLmNvbS8%3D"]Invision Power Services[/url], Inc.

* @version  2.1

*/


//-----------------------------------------------

// USER CONFIGURABLE ELEMENTS

//-----------------------------------------------

/**

* ROOT PATH

*

* If __FILE__ is not supported, try ./ and

* turn off "USE_SHUTDOWN" or manually add in

* the full path

* @since 2.0.0.2005-01-01

*/

define( 'ROOT_PATH', dirname( __FILE__ ) ."/" );


/**

* USE SHUT DOWN

*

* Enable shut down features?

* Uses PHPs register_shutdown_function to save

* low priority tasks until end of exec

* @since 2.0.0.2005-01-01

*/

define ( 'USE_SHUTDOWN', IPB_THIS_SCRIPT == 'public' ? 1 : 0 );


/**

* [url="https://www.invisionpower.com/clients/index.php?app=nexus&module=promotion&section=referral&id=5636&direct=aHR0cDovL3d3dy5pbnZpc2lvbnBvd2VyLmNvbS8%3D"]IPS[/url] KERNEL PATH

*

* @since 2.0.0.2005-01-01

*/

define( 'KERNEL_PATH'  , ROOT_PATH.'ips_kernel/' );


/**

* LEGACY MODE

*

* Legacy mode? Will enable hacks for 2.0 to work

* with a little modification

* @since 2.1.0.2005-07-12

*/

define( 'LEGACY_MODE', 0 );


/**

* USE MODULES

*

* Enable module usage?

* (Vital for some mods and IPB enhancements)

* @since 2.0.0.2005-01-01

*/

define ( 'USE_MODULES', 1 );


/**

* CUSTOM ERROR

*

* Enable custom error handling?

* Useful to trap skin errors, etc

* @since 2.0.0.2005-01-01

*/

define( 'CUSTOM_ERROR', 1 );


/**

* TRIAL VERSION

*

* Seriously, like, leave this alone

* @since 2.0.0.2005-01-01

*/

define( 'TRIAL_VERSION', 0 );


//-----------------------------------------------

// NO USER EDITABLE SECTIONS BELOW

//-----------------------------------------------


@set_magic_quotes_runtime(0);

error_reporting  (E_ERROR | E_WARNING | E_PARSE);


/**

* IN IPB

*

* @since 2.0.0.2005-01-01

*/

define ( 'IN_IPB', 1 );


/**

* IN ACP

*

* @since 2.0.0.2005-01-01

*/

define ( 'IN_ACP', 1 );


/**

* DEV MODE

*

* Seriously, like, leave this alone too

* @since 2.0.0.2005-01-01

*/

define ( 'IN_DEV', 0 );


/**

* SAFE MODE

*

* Seriously, like, leave this alone too

* @since 2.0.0.2005-01-01

*/

if ( IPB_THIS_SCRIPT != 'public' )

{

	if ( function_exists('ini_get') )

	{

  define ( 'SAFE_MODE_ON', @ini_get("safe_mode") ? 1 : 0 );

	}

	else

	{

  define ( 'SAFE_MODE_ON', 1 );

	}

}

else

{

	define ( 'SAFE_MODE_ON', 0 );

}


/**

* INITIATED

*

* Seriously, like, leave this alone too

* @since 2.1.0.2005-07-19

*/

define ( 'IPB_INIT_DONE', 1 );


//-----------------------------------------------

// Use custom handler?

//-----------------------------------------------


if ( CUSTOM_ERROR )

{

	set_error_handler("my_error_handler");

}


//===========================================================================

// DEBUG CLASS

//===========================================================================


/**

* Debug class

*

* @package	InvisionPowerBoard

* @author   Matt Mecham

* @version	2.1

*/

class Debug

{

    function startTimer()

    {

        global $starttime;

        $mtime = microtime ();

        $mtime = explode (' ', $mtime);

        $mtime = $mtime[1] + $mtime[0];

        $starttime = $mtime;

    }

    function endTimer()

    {

        global $starttime;

        $mtime = microtime ();

        $mtime = explode (' ', $mtime);

        $mtime = $mtime[1] + $mtime[0];

        $endtime = $mtime;

        $totaltime = round (($endtime - $starttime), 5);

        return $totaltime;

    }

}


/*-------------------------------------------------------------------------*/

// GLOBAL ROUTINES

/*-------------------------------------------------------------------------*/


/**

* Fatal error

*

* @param	string	Message

* @param	string	Help

* @return	void

*/

function fatal_error($message="", $help="")

{

	echo("$message<br><br>$help");

	exit;

}


/*-------------------------------------------------------------------------*/

// Custom error handler

/*-------------------------------------------------------------------------*/


/**

* Custom error handler

*

* @param	integer	Error number

* @param	string	Error string

* @param	string	Error file

* @param	string	Error line number

* @return	void

*/

function my_error_handler( $errno, $errstr, $errfile, $errline )

{

	// Did we turn off errors with @?


	if ( ! error_reporting() )

	{

  return;

	}


	$errfile = str_replace( @getcwd(), "", $errfile );


	switch ($errno)

	{

    case E_ERROR:

      echo "<b>IPB ERROR</b> [$errno] $errstr (Line: $errline of $errfile)<br />\n";

      exit(1);

    	break;

    case E_WARNING:

    	if ( strstr( $errstr, 'load_template(./skin_cache/cacheid_' ) )

    	{

      if ( IPB_THIS_SCRIPT != 'admin' )

      {

    	echo "<div style='font-family:sans-serif'><b>IPB TEMPLATE ERROR:</b> Could not load the required template.

        <br /><br />First, try and remove any custom skin settings by clicking <a href='index.php?setskin&id=0'>here</a>

        <br /><br />Then, please visit your <a href='admin.php'>Admin Control Panel</a> to repair this template.

        <br /><br /><span style='font-size:90%;color:gray'>Error: $errstr</span></div>";

    }

    else

    {

    	skin_emergency();

    }

    	}

    	else

    	{

      	echo "<b>IPB WARNING</b> [$errno] $errstr (Line: $errline of $errfile)<br />\n";

      }

    	break;

  	default:

      //Do nothing

    	break;

	}

}



?>

Edited by kdt

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×