На последнем шаге установки выдает кучу ошибок. Причем на предпоследнем шаге напротив всех параметров написано Ок!, но после нажатия кнопки install выдает: Warning: PDOStatement::execute() [pdostatement.execute]: SQLSTATE[42S02]: Base table or view not found: 1146 Table ’modx.modx_namespaces’ doesn’t exist in /usr/local/www/data/site1/core/xpdo/om/xpdoobject.class.php on line 261
Warning: PDO::query() [pdo.query]: SQLSTATE[42S02]: Base table or view not found: 1146 Table ’modx.modx_namespaces’ doesn’t exist in /usr/local/www/data/site1/core/xpdo/xpdo.class.php on line 1796
Warning: PDO::exec() [pdo.exec]: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ’TYPE=MyISAM’ at line 1 in /usr/local/www/data/site1/core/xpdo/xpdo.class.php on line 1730
Warning: PDOStatement::execute() [pdostatement.execute]: SQLSTATE[42S02]: Base table or view not found: 1146 Table ’modx.modx_namespaces’ doesn’t exist in /usr/local/www/data/site1/core/xpdo/om/xpdoobject.class.php on line 1281
Warning: PDO::query() [pdo.query]: SQLSTATE[42S02]: Base table or view not found: 1146 Table ’modx.modx_namespaces’ doesn’t exist in /usr/local/www/data/site1/core/xpdo/xpdo.class.php on line 1796
Warning: PDO::exec() [pdo.exec]: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ’TYPE=MyISAM’ at line 1 in /usr/local/www/data/site1/core/xpdo/xpdo.class.php on line 1730
эти ошибки повторяются много раз, меняется только имя таблицы. Кто сталкивался с этим - как решить???
Точно такая же проблема.
Менял версию PHP с 52 на 5. Менял extention.
поднят сервер на freebsd 8.1
с такими портами
apache-2.2.15_9 Version 2.2.x of Apache web server with prefork MPM.
apr-ipv6-devrandom-gdbm-db42-mysql55-1.4.2.1.3.9_1 Apache Portability Library
autoconf-2.62 Automatically configure source code on many Un*x platforms
autoconf-wrapper-20071109 Wrapper script for GNU autoconf
automake-1.10.1 GNU Standards-compliant Makefile generator (1.10)
automake-1.9.6_3 GNU Standards-compliant Makefile generator (1.9)
automake-wrapper-20071109 Wrapper script for GNU automake
bigreqsproto-1.1.0 BigReqs extension headers
ca_root_nss-3.12.4 The root certificate bundle from the Mozilla Project
cd-console-2.4 A curses-based console CD player
curl-7.20.1 Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
cvsup-without-gui-16.1h_4 File distribution system optimized for CVS (non-GUI version
darkice-0.20_1 An IceCast, IceCast2 and ShoutCast live audio streamer
db42-4.2.52_5 The Berkeley DB package, revision 4.2
en-freebsd-doc-20100625 Documentation from the FreeBSD Documentation Project
expat-2.0.1_1 XML 1.0 parser written in C
faac-1.28 MPEG-2 and MPEG-4 AAC audio encoder
faad2-2.7_2,1 MPEG-2 and MPEG-4 AAC audio decoder
freetds-msdblib-0.64_5,1 Sybase/Microsoft TDS protocol library
freetype2-2.3.12 A free and portable TrueType font rendering engine
gamin-0.1.10_4 A file and directory monitoring system
gawk-3.1.7_1 The GNU version of Awk
gdbm-1.8.3_3 The GNU database manager
gettext-0.18_1 GNU gettext package
glib-2.24.1_1 Some useful routines of C programming (current stable versi
gmake-3.81_4 GNU version of ’make’ utility
gmp-5.0.1 A free library for arbitrary precision arithmetic
help2man-1.38.2_1 Automatically generating simple manual pages from program o
icecast2-2.3.2_6,1 A streaming mp3/ogg-vorbis audio server
inputproto-2.0 Input extension headers
jpeg-8_3 IJG’s jpeg compression utilities
kbproto-1.0.4 KB extension headers
lame-3.98.4 Fast MP3 encoder kit
libICE-1.0.6,1 Inter Client Exchange library for X11
libSM-1.1.1_1,1 Session Management library for X11
libX11-1.3.3,1 X11 library
libXau-1.0.5 Authentication Protocol library for X11
libXaw-1.0.7,1 X Athena Widgets library
libXdmcp-1.0.3 X Display Manager Control Protocol library
libXext-1.1.1,1 X11 Extension library
libXmu-1.0.5,1 X Miscellaneous Utilities libraries
libXp-1.0.0,1 X print library
libXpm-3.5.7 X Pixmap library
libXt-1.0.7 X Toolkit library
libcheck-0.9.8 A unit test framework for C
libdrm-2.4.12_1 Userspace interface to kernel Direct Rendering Module servi
libevent-1.4.13 Provides an API to execute callback functions on certain ev
libgcrypt-1.4.5_1 General purpose crypto library based on code used in GnuPG
libgpg-error-1.7_1 Common error values for all GnuPG components
libiconv-1.13.1_1 A character set conversion library
libltdl-2.2.6b System independent dlopen wrapper
libmad-0.15.1b_2 Libmad library (part of MAD project)
libmcrypt-2.5.8 Multi-cipher cryptographic library (used in PHP)
libogg-1.2.0,4 Ogg bitstream library
libpthread-stubs-0.3_3 This library provides weak aliases for pthread functions
libshout2-2.2.2_4,1 Connect and transmit data to an Icecast media streaming ser
libslang2-2.2.2_1 Routines for rapid alpha-numeric terminal applications deve
libtheora-1.1.1_2 Theora video codec for the Ogg multimedia streaming system
libtool-2.2.6b Generic shared library support script
libtre-0.8.0_1 A lightweight fully POSIX compliant regexp matching library
libvorbis-1.3.1,3 Audio compression codec library
libxcb-1.6 The X protocol C-language Binding (XCB) library
libxml2-2.7.7 XML parser library for GNOME
libxslt-1.1.26_1 The XSLT C library for GNOME
m4-1.4.14_1,1 GNU m4
mc-light-4.1.40.p9_8 A lightweight Midnight Commander clone
mhash-0.9.9.9_1 An easy-to-use library for strong hashes such as MD5 and SH
mpeg4ip-libmp4v2-1.6.1 Mpeg-4 library and tools from mpeg4ip
mpg123-1.12.1 Command-line player for mpeg layer 1, 2 and 3 audio
mysql-client-5.5.5 Multithreaded SQL database (client)
mysql-server-5.5.5 Multithreaded SQL database (server)
oniguruma-4.7.1 A BSDL Regular Expressions library compatible with POSIX/GN
openldap-client-2.4.23 Open source LDAP client implementation
p5-Authen-PAM-0.16_1 A Perl interface to the PAM library
p5-DBD-mysql55-4.014 MySQL 5.5 driver for the Perl5 Database Interface (DBI)
p5-DBI-1.61.1 The perl5 Database Interface. Required for DBD::* modules
p5-Net-SSLeay-1.36 Perl5 interface to SSL
p5-Storable-2.21 Persistency for perl data structures
p5-gettext-1.05_3 Message handling functions
pcre-8.02 Perl Compatible Regular Expressions library
pecl-fileinfo-1.0.4 A PECL extension to retrieve info about files
perl-5.10.1_1 Practical Extraction and Report Language
php5-5.3.2_1 PHP Scripting Language
php5-bz2-5.3.2_1 The bz2 shared extension for php
php5-calendar-5.3.2_1 The calendar shared extension for php
php5-ctype-5.3.2_1 The ctype shared extension for php
php5-dom-5.3.2_1 The dom shared extension for php
php5-filter-5.3.2_1 The filter shared extension for php
php5-gd-5.3.2_1 The gd shared extension for php
php5-hash-5.3.2_1 The hash shared extension for php
php5-iconv-5.3.2_1 The iconv shared extension for php
php5-json-5.3.2_1 The json shared extension for php
php5-mbstring-5.3.2_1 The mbstring shared extension for php
php5-mcrypt-5.3.2_1 The mcrypt shared extension for php
php5-mysql-5.3.2_1 The mysql shared extension for php
php5-openssl-5.3.2_1 The openssl shared extension for php
php5-pdo-5.3.2_1 The pdo shared extension for php
php5-pdo_mysql-5.3.2_1 The pdo_mysql shared extension for php
php5-session-5.3.2_1 The session shared extension for php
php5-simplexml-5.3.2_1 The simplexml shared extension for php
php5-sockets-5.3.2_1 The sockets shared extension for php
php5-xml-5.3.2_1 The xml shared extension for php
php5-zip-5.3.2_1 The zip shared extension for php
php5-zlib-5.3.2_1 The zlib shared extension for php
pkg-config-0.23_1 A utility to retrieve information about installed libraries
png-1.4.3 Library for manipulating PNG images
postgresql-client-8.2.17_1 PostgreSQL database (client)
printproto-1.0.4 Print extension headers
proftpd-1.3.3a Highly configurable ftp daemon
python26-2.6.5 An interpreted object-oriented programming language
ru-freebsd-doc-20100625 Russian translation of the FreeBSD Documentation Project
screen-4.0.3_7 A multi-screen window manager
scrnsaverproto-1.2.0 ScrnSaver extension headers
speex-1.2.r1_3,1 An open-source patent-free voice codec
streamripper-1.64.6_2 Splits SHOUTcast stream into tracks
suphp-0.7.1_2 Securely execute PHP scripts under Apache
t1lib-5.1.2_1,1 A Type 1 Rasterizer Library for UNIX/X11
tcl-8.5.8 Tool Command Language
tcl-modules-8.5.8 Tcl common modules
unzip-6.0 List, test and extract compressed files in a ZIP archive
webmin-1.510 Web-based interface for system administration for Unix
wget-1.12_1 Retrieve files from the Net via HTTP(S) and FTP
xcb-proto-1.6 The X protocol C-language Binding (XCB) protocol
xcmiscproto-1.2.0 XCMisc extension headers
xextproto-7.1.1 XExt extension headers
хотелось бы узнать причину.
Видимо, не создана база данных или таблицы? Может в логах сервера поискать? Установочные файлы не повреждены?
Установочные файлы не повреждены.
На основном сайте увидел скрипт проверки библиотеки pdo.
у меня тест не прошел. Сейчас все переинсталирую.
Отпишусь.
П.С. даже не ставиться 1.0.4
Что то с созданием баз данных.
Эм.. с созданием баз данных? или таблиц в базе?
У пользователя MySQL, от которого работает MODx привилегий на создание (CREATE) баз (или таблиц в указанной базе) хватает? (искать в сторону GRANT PRIVILEGES... всё посмотреть и сделать можно как в shell-е так и через phpmyadmin/mysql клиент) В крайнем случае можно скрипт (искать .sql в install, если не ошибаюсь) вручную выполнить..
Удачи!
Да, с созданием именно таблиц проблема, привилегий у пользователя хватает(и под юзером и под рутом одно и то же), вручную, да, создается (SQL-запрос можно посмотреть в файле setup.sql в папке install) - но вручную пробивать все 113, или скока там их, баз - это ад! хотя конечно никто не запрещает в ентом файлике заменить {PREFIX} на префикс таблиц который в начале установки прописывали. Так вот - хватит ли вышеописанных действий для корректной установки MODx? по идее должно хватить...
Бля, ну пиздец! >:( Я его одолел таки! В SQL файлике, валяющемся site_name\install\setup.sql в каждом запросе на создание таблицы, в конце надо изменить TYPE=MyISAM на ENGINE=MyISAM; сайт заработал-в админку пускает.