Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: problem z Quick.CMS
Forum PHP.pl > Forum > PHP
Pawel.Dabrowski
Witam, robiłem kilka stron dla chorych dzieci w Quick.CMS
Jednak przy wdrażaniu ostatniej strony, pojawił się problem:



Warning: require_once(libraries/TplParser.php) [function.require-once]: failed to open stream: No such file or directory in /home/paulus/domains/pomoz-im.eu/public_html/basia/index.php on line 17

Fatal error: require_once() [function.require]: Failed opening required 'libraries/TplParser.php' (include_path='.:/usr/local/php52/lib/php/') in /home/paulus/domains/pomoz-im.eu/public_html/basia/index.php on line 17


Jak go mogę naprawic? powiem, że plik libraries/TplParser.php jest na serwerze.

WAŻNE!!!


ps. adres: http://basia.pomoz-im.eu
Kshyhoo
A my wróżki nie znamy treści pliku /home/paulus/domains/pomoz-im.eu/public_html/basia/index.php
Pawel.Dabrowski
Jest originalny. Nic w nim nie zmienialem.



  1. <?php
  2. /*
  3. * Quick.Cms by OpenSolution.org
  4. * www.OpenSolution.org
  5. */
  6. extract( $_GET );
  7. define( 'CUSTOMER_PAGE', true );
  8.  
  9. require 'config/general.php';
  10. require DB_CONFIG_LANG;
  11.  
  12. if( HIDDEN_SHOWS === true )
  13.  
  14. require_once DIR_LANG.LANGUAGE.'.php';
  15. header( 'Content-Type: text/html; charset='.$config['charset'] );
  16. require_once DIR_LIBRARIES.'TplParser.php';
  17. require_once DIR_LIBRARIES.'FileJobs.php';
  18. require_once DIR_LIBRARIES.'FlatFiles.php';
  19. require_once DIR_LIBRARIES.'Trash.php';
  20. require_once DIR_PLUGINS.'plugins.php';
  21.  
  22. require_once DIR_CORE.'pages.php';
  23. require_once DIR_CORE.'files.php';
  24.  
  25. $aActions = isset( $p ) ? getAction( $p ) : getUrlFromGet( );
  26. if( isset( $aActions['f'] ) && $aActions['f'] == 'p' )
  27. $iContent = ( isset( $aActions['a'] ) && is_numeric( $aActions['a'] ) ) ? $aActions['a'] : $config['start_page'];
  28. else
  29. $iContent = null;
  30.  
  31. $oFF = FlatFiles::getInstance( );
  32. $oTpl = TplParser::getInstance( DIR_TEMPLATES, $config['embed_php'] );
  33. $oFF->cacheFilesIndexes( $config_db );
  34.  
  35. if( defined( 'MOBILE' ) && $config['mobile'] === true ){
  36. $oTpl->setPrefixBlock( 'MOBILE_', true );
  37. $config['template'] = $config['template_mobile'];
  38. }
  39.  
  40. $oFile = Files::getInstance( );
  41. $oPage = Pages::getInstance( );
  42. $content = null;
  43. $sTheme = null;
  44. $sBanner = null;
  45.  
  46. $sKeywords = $config['keywords'];
  47. $sDescription = $config['description'];
  48.  
  49. if( isset( $aActions ) && is_file( 'actions_client/'.$aActions['f'].'.php' ) )
  50. require 'actions_client/'.$aActions['f'].'.php';
  51.  
  52. if( isset( $sTheme ) && !empty( $sTheme ) && is_file( DIR_THEMES.$sTheme ) ){
  53. require DIR_THEMES.$sTheme;
  54. }
  55. else{
  56. if( is_file( DIR_THEMES.$aActions['f'].'-'.$aActions['a'].'.php' ) ){
  57. require DIR_THEMES.$aActions['f'].'-'.$aActions['a'].'.php';
  58. }
  59. else{
  60. require DIR_THEMES.$config['default_theme'];
  61. }
  62. }
  63. ?>


problem rozwiazany.
temat mozna zamknac
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.