VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Quality & Testing VirtueMart 1.1.x => Virtuemart 1.1 Development (Archiv) => Q&T Resolved => Topic started by: buggy on January 22, 2008, 17:33:44 PM

Title: [FIXED] 1.1 beta install issues
Post by: buggy on January 22, 2008, 17:33:44 PM
I'm using Joomla 1.5 and had tried out VM 1.0.13a stable until I realized that they didnt work well together, so I removed the VM stable and tried out the 1.1 beta 2. There were a few issues after installing the component so I removed and tried the nightly but had the same issues. Here's what happens:
I install by uploading the file package via the Joomla backend, as normal. After the installation is "successful" there is also a warning message at the top that says:
QuoteWarning: zip_entry_read() [function.zip-entry-read]: The bytes parameter must greater then zero in /home/golde59/public_html/libraries/joomla/filesystem/archive/zip.php on line 239
I ignore it for the sake of trying to proceed. I click GO DIRECTLY TO THE SHOP to go to the next step and after it finishes it goes to the VM admin page with an additional warning at the top that says:
QuoteUpdate Log
Invalid checksum for file "_method,$ps_zone,$sess, $page, $func, $pagename, $modulename, $vars, $VM_LANG, $cmd, $ok, $mosConfig" : 43769 calculated, 0 expectedSomething went wrong with Unpacking the Archive Files
Ignoring that yet again, I can still seem to use VM OK so far, although I'm pretty sure something is indeed wrong as the VM backend seems dramatically formatted incorrectly (CSS issues?).
Here is a screen capture of the VM administration in the backend...

(http://goldencrow.org/temp/administration.jpg)

Not sure what those warnings and issues are about, and what I should do about them. Any insights? :)

Title: Re: 1.1 beta install issues
Post by: Matthew Midgett on January 22, 2008, 22:13:55 PM
Not sure of you have tried last nights build. It seems to be working fine with my rocket theme template.  Check out the builds here... http://forum.virtuemart.net/index.php?topic=31381.0
Title: Re: 1.1 beta install issues
Post by: Michael Thomsen on January 23, 2008, 00:19:39 AM
I have the same problem with today's nightly build of VM 1.1 (22 January) and joomla 1.5 stable.
Initially the files couldn't be unpacked so I did this via cpanel filemanager. All folders and files of VM are now installed in their right places, yet I still get:

Warning: mysql_real_escape_string() expects parameter 2 to be resource, integer given in /home2/anchorh/public_html/solarenergydirectnew/libraries/joomla/database/database/mysql.php on line 193

tried different templates, same result.

Michael
Title: Re: 1.1 beta install issues
Post by: aravot on January 23, 2008, 04:42:28 AM
What is your php version and could you please send me your SQL error log, if you are on shared hosting you should contact you host to get it.
Title: Re: 1.1 beta install issues
Post by: Michael Thomsen on January 23, 2008, 08:00:32 AM
Hi
php 5.2.1, I have asked the host for sql error log.

In the meantime I installed a fresh stable joomla 1.5 and nightly build VM 1.1 on a another server:
PHP version   5.2.5
MySQL version   5.0.45-community
Architecture   i686
Operating system   Linux
Shared Ip Address   202.60.66.63

and got the following error message:

Invalid checksum for file "_method,$ps_zone,$sess, $page, $func, $pagename, $modulename, $vars, $VM_LANG, $cmd, $ok, $mosConfig" : 43769 calculated, 0 expectedSomething went wrong with Unpacking the Archive Files

Fronte end and admin files not unpacked completely.

1. unpacked the files in admin and component via cpanel.
2. ftp transferred the core modules and plugins (content and search).

and everything seems fine.

So on this server, the files were not unpacked and I had to unpack some of the admin and frontend files.
On the other server, I still get the sql error message.

thank you
Michael
Title: Re: 1.1 beta install issues
Post by: buggy on January 23, 2008, 17:14:16 PM
Ah, this seems to be a known issue...

http://forum.virtuemart.net/index.php?topic=35395.0
Title: Re: 1.1 beta install issues
Post by: Michael Thomsen on January 23, 2008, 23:42:58 PM
unfortunately this is not my problem. The folders are 755 and the files 644.
Just installed the latest nightly build on a fresh joomla 1.5, same problem.
It is obviously a server issue as it installed fine on another server (after unpacking some of the files via cpanel).

cheers
Michael
Title: Re: 1.1 beta install issues
Post by: aravot on January 25, 2008, 23:05:58 PM
Please try build 1189
Title: Re: 1.1 beta install issues
Post by: Michael Thomsen on January 25, 2008, 23:45:40 PM
Hi
Installed build 1189.
Got the following error message:

Warning: zip_entry_read() [function.zip-entry-read]: The bytes parameter must greater then zero in /home2/anchorh/public_html/solarenergydirect/libraries/joomla/filesystem/archive/zip.php on line 239

So I unpacked the admin and component files via extract function in cpanel.

Transferred plugins and modules manually from the manual install folder.

Unfortunately, I am still getting:

Warning: mysql_real_escape_string() expects parameter 2 to be resource, integer given in /home2/anchorh/public_html/solarenergydirect/libraries/joomla/database/database/mysql.php on line 193

cheers
Michael
Title: Re: 1.1 beta install issues
Post by: jenkinhill on January 26, 2008, 00:18:27 AM
Confirmed - warmin message still present in 1189 with PHP4 and not present with PHP5

Warning: mysql_real_escape_string() expects parameter 2 to be resource, integer given in /var/www/html/joomla3/libraries/joomla/database/database/mysql.php on line 193

Database Version: 4.1.22
PHP Version:       5.2.4  and  4.4.4
Web Server: Apache
VirtueMart 1.1: Ver. 1189
Joomla! Version: Joomla! 1.5 Final
Title: Re: 1.1 beta install issues
Post by: aravot on January 26, 2008, 20:47:49 PM
Fixed in build 1192
Title: Administration panel is gone! (VM 1.1 rev 1198)
Post by: dorjano on January 30, 2008, 02:10:20 AM
I did a fresh install of VM1.1  rev.1198 on J!1.0.13, php4.4.7, mysql 4.1.22, apache2.6.9-42 and I can't see new admin panel as it was with previous revisions. Is this connected somehow with a new multi-file language schema?

D.
Title: Re: Administration panel is gone! (VM 1.1 rev 1198)
Post by: aravot on January 30, 2008, 02:32:24 AM
I don't know what you mean, attach screenshot
Title: Re: Administration panel is gone! (VM 1.1 rev 1198)
Post by: dorjano on January 30, 2008, 03:06:19 AM
Here it is. The picture shows just a list of commands/menu instead of a new Admin panel.

D.

Argghghg >:(. The upload dir is full. Could you do something about? The pix is just 20k.

so how to explain ??? Usually when you click on a VM submenue in J! components menu you get a brand new looking Admin panel, right? Well in my case I get just a list of commands that are usually present in the admin panel; like Configuration, Users, User Groups etc.
Title: Re: Administration panel is gone! (VM 1.1 rev 1198)
Post by: aravot on January 30, 2008, 03:17:41 AM
You mean like this -> http://forum.virtuemart.net/index.php?topic=35685.0
Title: Re: Administration panel is gone! (VM 1.1 rev 1198)
Post by: dorjano on January 30, 2008, 03:29:18 AM
Yep! Just like this (your link). Well mine is centered not left aligned :-). But yes, this is the problem. And as you can see in my first post I already have 1198. Any idea?
Title: Re: Administration panel is gone! (VM 1.1 rev 1198)
Post by: aravot on January 30, 2008, 03:31:55 AM
That problem has nothing to do with rev 1198, please read the link
Title: Re: [FIXED] 1.1 beta install issues
Post by: dorjano on January 30, 2008, 04:26:23 AM
Sorry Aravot but I don't have the same problem as the other fellows in this tread. My Installation process went smoothly, no errors no nothing. Just  at the end when I clicked "go directly to the store" (or alike) I got this messed up admin panel. I read through and through this tread but I didn't find a right solution. Could you be more precise, please?


Cheers,

Dorjano
Title: Re: [FIXED] 1.1 beta install issues
Post by: aravot on January 30, 2008, 04:48:10 AM
You need to change the permission of fetchscript.php file located in root/components/com_virtuemart/fetchscript.php changed it to what well that depends to your server configuration try 777 if that doesn't work try other combinations like 644 and etc
Title: Re: [FIXED] 1.1 beta install issues
Post by: dorjano on January 30, 2008, 05:05:04 AM
Oh, Thanks! I the mean time I made a manual installation and it works. But I'll try your suggestion too. The reason for this peculiarity could be that the server is setup to allow just 2MB of upload through php. At least mine was.  VM installation is very close to 2MB so it could be a solution to install manually.

Thanks again Aravot!

cheers, D.

Title: Re: [FIXED] 1.1 beta install issues
Post by: gandhi51 on February 07, 2008, 09:23:07 AM
Same problem, i chmod root/components/com_virtuemart/fetchscript.php with 644.
Know it's fixed !
Thx you for the tips !
Title: 1.1 for J! 1.0 backend is messed up..
Post by: Mike C on March 08, 2008, 03:43:11 AM
I finally got VM 1.1 nightly build installed by extracting all the files in the zip and then creating a new zip file (the format of the zip files being posted is no good for some reason) Anyways, after getting it installed and going to the admin area, I see this (see attached screen shot)  Why is this weird layout thing happening?

[attachment cleanup by admin]
Title: Admin Layout Problem
Post by: bulabula on March 12, 2008, 18:05:41 PM
http://forum.virtuemart.net/index.php?topic=37329

Title: Re: [FIXED] 1.1 beta install issues
Post by: Stephane Poison on March 22, 2008, 18:02:31 PM
Thank you very much for me it works now on simple and extended.

Joomla 1.5.1
Webserver Apache
PHP 4.4.8
Linux server
last VM nightly build

Using Filezilla FTP client work fine, 644 for files and 755 for directories.

I'm sure this will be fixed on final release,

Thanks.