hans Posted March 18, 2004 Report Share Posted March 18, 2004 Hi, I installed it at last. Strange thing was the tables were imported during install, data wasn't.. although the logs said it was. So I did a manual import of the data while installing, and have the data in mysql. The user data of the system admin was inserted correctly from the install. After the installation, the shop should be opened in a new window, but this stays blank, checking /var/log/messages says: Mar 18 13:15:47 server httpd: PHP Fatal error: Smarty: [in xtc/boxes/box_categories.html line 1]: syntax error: invalid attribute name: '$language/lang_$language.conf\' (***, line 1343) in /data/xtcommerce/includes/classes/smarty/*** on line 1833 Other server information: Fedora Core 1 Apache 2.0.48 MySQL 3.23.58-4 php 4.3.4-1.1 I'm stumped ... grtz Hans Link to comment Share on other sites More sharing options...
mzanier Posted March 18, 2004 Report Share Posted March 18, 2004 upload your files in ASCII mode, such errors cant apear on a standard installation... Link to comment Share on other sites More sharing options...
hans Posted March 18, 2004 Author Report Share Posted March 18, 2004 Hi I didn't upload the files; I got the tgz file directly on the server and untarred it in the correct directory. dso2unix seems to help anayway (just haven't done all the files yet ), but I also get an error at the end of the untarring: ... LICENSE.txt tar: Error exit delayed from previous errors is it possible that the latest tar isn't a unix version? File size on my server and the Berlios server are the same.. Grtz Link to comment Share on other sites More sharing options...
mzanier Posted March 18, 2004 Report Share Posted March 18, 2004 it got packed with power archiver, and it works fine. maybe you should depack local and upload files. Link to comment Share on other sites More sharing options...
hans Posted March 18, 2004 Author Report Share Posted March 18, 2004 this doesn't work also... same errors. So i tried to find . -name "*html" -exec dos2unix {} \; find . -name "*php" -exec dos2unix {} \; After this I get the following in my apache log: [Thu Mar 18 16:12:29 2004] [notice] child pid 27824 exit signal Segmentation fault (11) And no go of course..... My apache works with mod_rewrite, could that be the problem? I think i'm getting nuts grtz Hans Link to comment Share on other sites More sharing options...
mzanier Posted March 18, 2004 Report Share Posted March 18, 2004 hm, maybe theres another problem. replace \ in html template files through / that should work. Link to comment Share on other sites More sharing options...
mzanier Posted March 18, 2004 Report Share Posted March 18, 2004 mod_rewrite can be a problem to, if the rules arent coded for xtc. Link to comment Share on other sites More sharing options...
hans Posted March 18, 2004 Author Report Share Posted March 18, 2004 So ths problem only appears on the system where mod_rewrite is used.... Any apache/mod_rewrite gurus here? I know have a directive for the shop in the apache.conf: Alias /shop/ "/data/xtcommerce/" <Directory /data/xtcommerce/> AllowOverride None Options MultiViews Indexes Order allow,deny Allow from all </Directory> And later under the rewrite rules: RewriteRule ^/shop/ - [L] When I try to open the index.php (admin or normal) I get a died child in the apache logs... Link to comment Share on other sites More sharing options...
hans Posted March 25, 2004 Author Report Share Posted March 25, 2004 I think i solved the problem.... something was wrong in php.ini I copied the ini file of my old server over the new one and it seems to work Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.