Loading...
 

Crash on a replication of site from Unix to Windows - and windows installation

Status
Closed
Subject
Crash on a replication of site from Unix to Windows - and windows installation
Version
4.x
Category
  • Error
  • Conflict of two features (each works well independently)
Feature
Database MySQL (MyISAM)
Database independence (Non-Mysql, ADOdb Postgres, Oracle, etc)
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Resolution status
Not enough information
Submitted by
Bernard TREMBLAY
Lastmod by
Marc Laporte, lindon
Rating
(0)
Description

Hello,

HELP, I spent 120 hours on the problem, and I am completely stopped in my Work because I can't install Tikiwiki on the development tool on windows. I could not find a way to understand why 4.1 installation seam's impossible on windows. A failure, that I could not find till know, on windows is not detected by the product.

Sorry for the length.

I try to install on windows to make test and developments an installation of tikiwiki 4.1 that is on a unix system (OVH provider with shared servers). So I can't have xdebug and many other facilities.
This local replication is needed to begin my participation to the dev.tikiwiki.org.

For this I have :
1- Changed the way to hold .htaccess (patch) For my apache I use the définition
AccessFileName access.htaccess
My various application are accessed via virtualhosts
this since six years.
2- Enable all needed extension for php : the lonely problem is that it not exists an adodb.dll for php 5.3.0 on windows (not found)

After I tried a manual installation :
- create mysql db with data 4.1
- create local.php

This crash on (see screen xdebug copy) the instruction in tikisession-pdo.php

TikiDb
get()->setAttribute(PDO
ATTR_ERRMODE,PDO::ERRMODE_EXCEPTION);



But when I made the searches (this is the opportunity to go inside the product)
I could not find the way how the instance of the class TikiDb inherit of the setAttribute method from probably Zend_Db_Statement_Pdo
in lib\core\lib\Zend\Db\Statement\Pdo.php:411:

If the link exists I am interested in the fact to understand the structure.
If this come from the lack of the adodb.dll extension (functions and constants) this should be detected and I could not reach this execution point.

Generally may be a detection of php extension features could in the future avoid my "exploration".

I will redact when I will have solved all the problems a document about detail of a good implementation on windows.

Thank's for an answer, because I am locked till 15 days on this problem.

Trebly :

Nota1: I try new clean installation which don't functions, it crashes, after everything seems to be ended well installed the data are empty and a loop of to forms is without issue :

  1. because the data base is not populated
  2. because at the end we go back to the screen for validation of user and pass (second time) which calls the language form ad vitam.

The analyze shows that the POST('user') and POST('pass') are not got back into tiki-install.php and the failed installer is not run again.
Finally if I populate the data base with the data's (SQL) coming from one of the to implementations I reach the same as described upon.

Nota2: The data's are well accessed by phpmyadmin and the parameters OK.
''
Nota3:'' I run Mysql with mysqli extension. 256Mo of memory for php
* Version du serveur: 5.1.37-community-log
* Version du protocole: 10
* Utilisateur: root@localhost
* Jeu de caractères pour MySQL: UTF-8 Unicode (utf8)
Serveur web
* Apache/2.2.13 (Win32) DAV/2 mod_ssl/2.2.13 OpenSSL/0.9.8k SVN/1.6.6 PHP/5.3.0
* Version du client MySQL: mysqlnd 5.0.5-dev - 081106 - $Revision: 1.3.2.27 $
* Extension PHP: mysqli
phpMyAdmin
* Version: 3.2.1

May be there are other reasons that I have not found after 100hours of work...

Solution
Closed as version is no longer supported and problem appears to no longer exist. Report again on a supported version if problem persists.
Workaround

After a lot of work, a boning of the database management with the help of xdebug and eclipse.

I destroy what I said two days ago because of complementary work and it was mainly false.

The crash appends exactly at the point defined in my first message.
I made a quite complete trace of execution with comments, I join the HTML page.

This affects a new clean new installation or a whole manual site transfer from Linux. The problem don't exist with 3.3.

I still could not find or understand how the 4.1 executes well on Linux provided by OVH while with my configuration the TikiDb_Pdo object has no access to the method SetAttribute which seems to be inherited from Zend_Db_Statement_Pdo, but how.

As I could not find the way this class can be associated to the object accessed by TikiDB::get(), I don't understand how the OVH application functions (but I can't look at because there are no tools as xdebug).

It's a deadlock for me and must stop working on TikiWiki if I can't find a solution.

I have developed the beginning of three sites and worked on three month.
Now I spent now on this bugs or like (installation problem not detected by the soft, which locks my lock, more than 130hour (this has been the occasion to :
- use a lot xdebug
- develop my own "exec_trace" for debug using xdebug
- install SVN preparing for work
- install PhpEclipse
- begin to understand the many part of the whole structure of the product

I had program to integrate well the team for :

  • French translation of :

- documentation
- on line help and screens
- templates form and mails

  • Debugging
  • Development of forms

- debugging
- Form : just a test - I integrate the color-picking for text and background color for boxes of text

  • Complements of documentation (as I fell)

- Full windows installation with advice for Apachen Php, and Mysql configutation
- Others, I began

  • Reorganise menus and detail about trackers and way to set "procedures for registration in groups etc..."


Nota :
With the same parameters (local.php) the 3.3 is well installed and connected. With dysfunctions because of rewrite with "\/\" for windows easy to patch (.htaccess and rewrite adapted to Windows) and the use by the soft when Apache parameter FileAccessName as been changed changed.

So this is a great help because I can't go on spent whole nights.
i am experienced and It is the first I have such a problem.

Without Help I must stop and nobody send me any useful information.

In another way I think that they must exist people who have installed TikiWiki on Windows, so I don't understand where I am locked.

I work alone so may be there is a way that I don't explore, something evident. I checked everything and after one month of work I am still locked.

Importance
7
Demonstrate Bug
Please demonstrate your bug on show2.tikiwiki.org

 About show2.tikiwiki.org

To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tikiwiki.org instance. To start, simply select a version and click on "Create show2.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tikiwiki.org.

Version: Create show2.tikiwiki.org instance
Ticket ID
3029
Created
Sunday 07 February, 2010 02:51:52 GMT-0000
LastModif
Sunday 18 June, 2017 21:40:21 GMT-0000

Attachments

 filenamecreatedhitscommentversionfiletype 
locald8.teawik2.net-B00224-1.htm 25 Feb 10 05:27 GMT-0000712A trac of exécution from start to FATAL ERROR1a
xdebug-stack-1.jpg 07 Feb 10 03:02 GMT-0000115xdbegug stack4.1b-1


Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

Accessibility (WAI & 508)
Accounting
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Group
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags
Task
Tell a Friend, alert + Social Bookmarking
Terms and Conditions
Theme
TikiTests
Timesheet
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools