Elxis CMS Forum

Extensions => Components => Topic started by: speck on March 30, 2009, 20:16:20

Title: big problem with elxis installing the components under windows [SOLVED]
Post by: speck on March 30, 2009, 20:16:20
i've encontered meny problems during the installation the components in elxis 2008.Nemesis_rev2245.
I don't know why, but i have soome strange messages like.
Impossibile to copy seopro.com_newsletter.php includes/seo. copy it manually and rename it in com_newsletter.php

at the same if i gon on compentes newsletter configure appear this error message

     
PHP Error [Warning]
URI: index2.php?option=com_newsletter
Path: \administrator\components\com_newsletter\toolbar.newsletter.php
Line: 25
require_once(D:/elxis_2008.1_Nemesis_rev2245/administrator/components/com_newsletter/language/english.php) [function.require-once]: failed to open stream: No such file or directory

Fatal error: require_once() [function.require]: Failed opening required 'D:/elxis_2008.1_Nemesis_rev2245/administrator/components/com_newsletter/language/english.php' (include_path='.;C:\php5\pear') in D:\elxis_2008.1_Nemesis_rev2245\administrator\components\com_newsletter\toolbar.newsletter.php on line 25

the same thing happen to install other components like downloads and others and at the same time looking in the database i saw that the components are unable to create their databases but this is not all. also many directories that would be under the direcotory of the component (example administrator/components/com_newsletter/) are in the principal direcorty of administrator/components(example: administrator/components/com_newletterhtmfiles    ..... administrator/components/com_newletterimages .... and so on). This happen with all components.

At this time, because for me working under windows on my pc is important for testing and create new templates and configuring the sites, i've have a lot of doubt to use the new version of elxis.
I must do also an e-commerce site and i wish use the new component that sannos created (i was very happy with a old version of e-dir that works very well under elxis 2008 1st version, but sorry i've lot of trouble and i'm unable to work on my pc.

how can solve these big problems to install new components????
Title: Re: big problem with elxis installing the components under windows
Post by: datahell on March 30, 2009, 20:42:04
These problems are not Elxis fault, don't blame Elxis if you don't know how to set up your system.

Set writeable permissions to the Elxis folder for the web server user (IIS or Apache).
Right click Elxis folder, select properties and go to Security tab (windows Vista). Select the user group that represents the web server (most probably the same with your username or SYSTEM), select Full control and click Apply.

Title: Re: big problem with elxis installing the components under windows
Post by: speck on March 30, 2009, 22:54:06
Sorry but i have not vista  :-\....i hate vista. is better win xp  :)
I've checked and the IIS web server has right settings and the right group (IUSR_computername) and so also the directory of 2008.Nemesis_rev2245 and all is writeable as all my web server. Permission folders writeable, executable and scripts.
I think that if the server has not right setting, i have the same problem with the first edition of elxis 2008.1  ??? ??? but with elxis 2008.1 works right...i never had problems (for this i always loved elxis and not other OS  ;)

===================================================================
this is the report with downloads component

Component IOS Downloads installed successfully!
Could not copy SEO PRO extension (seopro.com_downloads.php) to folder includes/seopro/
You must manually copy and paste the file to the includes/seopro/ directory and rename it to com_downloads.php
========================================================================

all subdirectories not in administrator/components/com_documents but in component/administrator
no files in the subdirectoris of documents
no tables about documents in the db

boh.....this is a big mistery  :-\


Title: Re: big problem with elxis installing the components under windows
Post by: CREATIVE Options on March 30, 2009, 23:37:42
Use an FTP program or SSH, to set right permission to files & folders.
Title: Re: big problem with elxis installing the components under windows
Post by: datahell on March 31, 2009, 00:06:29
Does your PHP has zlib support? Does you PHP has XML support? Are the Elxis minimum requirements fulfilled?
Title: Re: big problem with elxis installing the components under windows
Post by: speck on March 31, 2009, 01:14:48
Use an FTP program or SSH, to set right permission to files & folders.
The IIS is on my pc not on a external server.

Does your PHP has zlib support? Does you PHP has XML support? Are the Elxis minimum requirements fulfilled?
Yes i have it!!...otherwise i think that the components on elxis2008.0 i was always unable to install it

system check out

PHP Built On:     Windows NT XXX 5.1 build 2600
Database Version:    mysql 5.0.13-rc-nt (Version: 5.0.13)
PHP Version:    5.1.4
Web Server:    Microsoft-IIS/5.1
Web Server to PHP interface:    cgi-fcgi
Version    Elxis 2008.1 Stable rev2245 [ Nemesis ] 19-December-2008 19:58 GMT+2
User Agent:    Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
Relevant PHP Settings:    
Safe Mode:    OFF
Open basedir:    none
Display Errors:    ON
Short Open Tags:    ON
File Uploads:    ON
Magic Quotes:    ON
Register Globals:    OFF
Output Buffering:    OFF
Session save path:    C:\PHP\sessiondata
Session auto start:    0
XML enabled:    Yes
Zlib enabled:    Yes
Disabled Functions:    none
WYSIWYG Editor:    TinyMCE WYSIWYG Editor
================================================================
For all Elxis functions and features to work, ALL of the following directories should be writeable:
administrator/backups/   Writeable
administrator/components/   Writeable
administrator/modules/   Writeable
administrator/templates/admin/   Writeable
administrator/templates/login/   Writeable
cache/   Writeable
components/   Writeable
images/   Writeable
images/avatars/   Writeable
images/banners/   Writeable
images/stories/   Writeable
language/   Writeable
mambots/   Writeable
mambots/content/   Writeable
mambots/search/   Writeable
media/   Writeable
modules/   Writeable
templates/   Writeable
tmpr/   Writeable

========================================
from config.php

$mosConfig_absolute_path = 'D:/elxis_2008.1_Nemesis_rev2245';
$mosConfig_live_site = 'http://localhost/elxis_2008.1_Nemesis_rev2245';

========================================

dir elxis nemesis


i've tried to install newsletter component under elxis2008.0 and happen the same things (with other component like e-dir, docman and other, the instal work right



[attachment deleted by admin]
Title: Re: big problem with elxis installing the components under windows
Post by: datahell on March 31, 2009, 08:57:42
Although it has nothing to do with your problem set "Short Open Tags" to OFF.
I see that the installer does not generates the paths properly. Maybe the windows directory separator "\" is considered as an escape character instead of a directory separator. Do the following:

1. Clean everything from the previous installation from both frontend and backend.
2. Open includes/Core/filemenager.class.php Go somewhere around line 100 and change this:
   DEFINE("SEP", "\\");
   DEFINE("_LEND", "\r\n");
to this:
   DEFINE("SEP", "/");
   DEFINE("_LEND", "\n");

If the problem persists apply the patch I attach (from Elxis 2009.0).
Try also to change the component's XML file format to UNIX.

[attachment deleted by admin]
Title: Re: big problem with elxis installing the components under windows
Post by: speck on March 31, 2009, 10:50:41
DATAHELL  :)

Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Spasiba Bolshoj !!!!!!!!!!!!!!!!!!!!!  :) :) :) :)

The modify Works right!!!!!  :)

No patch  ;)

For this i love elxis.....
Title: Re: big problem with elxis installing the components under windows
Post by: datahell on March 31, 2009, 14:28:58
You applied the patch or the modified the directory separator? define('SEP', '/'); Which one was the solution?
Title: Re: big problem with elxis installing the components under windows
Post by: speck on March 31, 2009, 15:58:56
I've modified only the define separator after line 96  case 'win'
in filemanager.class.php

I've not applied the patch because after the modify and the install of some components, it seems works right.
In any case the patch i have it.

Grazie Mille Datahell