Quick.Cart - version 0.3.0 - reported bugs

treewood (OpenSolution)

Avatar: treewood

2005-03-22 15:43

prog - i tested in on 4 servers 2 x windows, 2 x linux

prog

Avatar: prog

2005-03-22 16:13

treewood - So why I receive this error message for the new version? (But the old version of the software is working fine)

treewood (OpenSolution)

Avatar: treewood

2005-03-22 17:07

prog - heh ... du no

prog

Avatar: prog

2005-03-22 17:39

Bu herif bizimle resmen dalga geçiyor. Programı da beş para etmez. Aranızda Türk varmı ve MySQL gerektirmeyen bir shopping cartı nerede bulabileceğimi söyleyecek olan... Ücretli yada ücretsiz farketmez.

Wizzud

No avatar

2005-03-22 18:32

OS : Linux
Server : Apache/1.3.29
PHP : 4.3.10 (register_globals ON)

Installed Quick.Cart v0.3.0 - no PHP errors reported (using Cart or Admin).

-Dj-

No avatar

2005-03-22 20:33

Operating system: Linux
Kernel version: 2.4.24
Machine Type: i686
Apache version: 1.3.33 (Unix)
PERL version: 5.8.1
Path to PERL: /usr/bin/perl
Path to sendmail: /usr/sbin/sendmail
FTP Program: Flash FXP v. 3.0.2
Browser: Mozilla FireFox v. 1.0.1

Error Message:
Parse error: parse error, unexpected '{' in /home/webstart/public_html/QC3/core/products-admin.php on line 1


Having logged in to Admin, and seen the 'logged in correctly' message, the very next page chucked out the above error! Inspection of the file referred to indicates the top 1 line to be ...

<?phpif( !function_exists( 'addProduct' ) ){ /** * Dodawanie produktu * @return void * @param array $aForm */ function addProduct( $aForm ){ $aForm['iProduct'] = throwLastId( ) + 1; if( checkLength( $aForm['sShortDescription'], 1 ) ) $aForm['sShortDescription'] = changeTxt( $aForm['sShortDescription'], 'Br' ); if( checkLength( $aForm['sFullDescription'], 1 ) ) $aForm['sFullDescription'] = changeTxt( $aForm['sFullDescription'], 'Br' ); if( empty( $aForm['iPosition'] ) || !is_numeric( $aForm['iPosition'] ) ) $aForm['iPosition'] = 9; $aForm['sName'] = changeTxt( $aForm['sName'] ); $aForm['fPrice'] = ereg_replace( ',', '.', $aForm['fPrice'] ); $aForm['fPrice'] = tPrice( $aForm['fPrice'] ); addFiles( $aForm, $aForm['iProduct'], PRODUCTS_FOTO_SIZE, 1 ); dbAddProduct( $aForm ); } // end function addProduct}if( !function_exists( 'changeProduct' ) ){ /** * Zmiana danych produktu * @return void * @param array $aForm */ function changeProduct( $aForm ){ if( isset( $aForm['aFileDescriptionChange'] ) && is_array( $aForm['aFileDescriptionChange'] ) ){ foreach( $aForm['aFileDescriptionChange'] as $iKey => $sValue ){ dbChangeFileDescription( Array( $iKey, $aForm['iProduct'], $aForm['aFileNameChange'][$iKey], changeTxt( ereg_replace( ''', '', $sValue ) ), $aForm['aFileType'][$iKey] ), 1 ); } } if( isset( $aForm['aDelFile'] ) && is_array( $aForm['aDelFile'] ) ){ $iCount = count( $aForm['aDelFile'] ); for( $i = 0; $i < $iCount; $i++ ) delFile( $aForm['aDelFile'][$i], 1 ); } if( checkLength( $aForm['sShortDescription'], 1 ) ) $aForm['sShortDescription'] = changeTxt( $aForm['sShortDescription'], 'Br' ); if( checkLength( $aForm['sFullDescription'], 1 ) ) $aForm['sFullDescription'] = changeTxt( $aForm['sFullDescription'], 'Br' ); if( empty( $aForm['iPosition'] ) || !is_numeric( $aForm['iPosition'] ) ) $aForm['iPosition'] = 9; $aForm['sName'] = changeTxt( $aForm['sName'] ); $aForm['fPrice'] = ereg_replace( ',', '.', $aForm['fPrice'] ); $aForm['fPrice'] = tPrice( $aForm['fPrice'] ); addFiles( $aForm, $aForm['iProduct'], PRODUCTS_FOTO_SIZE, 1 ); dbChangeProduct( $aForm ); } // end function changeProduct}if( !function_exists( 'delProduct' ) ){ /** * Usuwanie produktu * @return void * @param int $iProduct */ function delProduct( $iProduct ){ delFiles( $iProduct, 1 ); dbDelProduct( $iProduct ); } // end function delProduct}?>

Feel free to 'log in' to this QC3 Admin area using the following username and password, by clicking the link below.

Username: webstart
Password: webstart

kris

No avatar

2005-03-23 00:55

I' ve installed this beta version and everything works fine.

-Dj-

No avatar

2005-03-23 08:10

******** FOUND THE ERROR ! ***************

THe files MUST be uploaded in BINARY MODE !

Edit the transfer mode in your ftp program to fix this probolem.

*********************************************

treewood (OpenSolution)

Avatar: treewood

2005-03-23 08:56

strange problem :/

treewood (OpenSolution)

Avatar: treewood

2005-03-24 08:33

There is no more bugs???

-Dj-

No avatar

2005-03-25 22:10

Yes, 1, you STILL dont include the folders, 'products', 'content', and 'categories' into the Files folder. Without these, there is nowhere to store the images!

treewood (OpenSolution)

Avatar: treewood

2005-03-26 12:15

dj - tell me more about it ... because i dont understand what i dont include

dave

No avatar

2005-03-26 18:52

So what sort of changes were made for this newer version? I can't really see much has changed cosmetically.

Hep

No avatar

2005-03-26 19:42

Hi
I really like the script so far. But i Wonder if it was possible to insert the already made plugins in the new wersion?
Then they were there as deafult.They are good but a bit difficoult to install.

treewood (OpenSolution)

Avatar: treewood

2005-03-27 08:30

dave:
- moved content to categories (now we can create sub-content)
- added files to products and categories
- changed some php code (actions_admin, actions_client, core)
- bugfixes

for You it is "cosmetically" ... but we spend long time to create this version.

-Dj-

No avatar

2005-03-28 10:42

Treewood,
What im saying its, you do not include the folders that store the images for 'products', 'content', and 'categories' . These are not in the ZIP file download of Q.C.

These folders need to exist obviously, to store the relevant images in the /files/ folder.

by simply adding 3 folders named 'products', 'content', and 'categories', it stops the error of not being able to upload the images for 'products', 'content', and 'categories'.

treewood (OpenSolution)

Avatar: treewood

2005-03-28 12:08

dj - strange ... i checked zip file and i see dir files/products/ and files/categories/

-Dj-

No avatar

2005-03-29 11:21

Hmmmmmm.... Why wouldnt I bee seeing them?! What else could I be missing? Hmmmmmmmm........ Oh well. Thanx.

Red

Avatar: Red

2005-03-30 11:14

I'm sure that some un-zippers do not create directories unless there are files in the sub-directory.

I would suggest having an empty "index.html" file in each directory. This will ensure the directories are created and also stop people from looking at contents of your directories.

Header

No avatar

2005-04-05 08:41

Is it possible to add a "drop down menu" to a sites which will come under content sites?

What about puttin a content sites to the left menu (if you have a lot of content sites) and products to the top.

Back to top
about us | contact