Can't get quickcart to work.

Marton

No avatar

2005-08-21 23:28

I have set up quickcart on server. I use PHP 4.4.0 and have the GD2 extension enabled. I use Small HTTP Server 3.05 under Windows XP.
Something is not right, after spending three hours trying to get it to work, I gaved up.
Here is what I get from QuickCart:
http://24.232.67.71/qc
I have not modified anything from the install package (except admin user/pass in config/general.php) but I can't get it to accept me as the admin anyway, all I get is \"\" in the forms... try it yourself.
What am I doing wrong?
Thanks in advance for any help, it would be appreciated.
Marton

Marton

No avatar

2005-08-21 23:55

Just a note: PHP is running well on the server as I'm running a PHP forum and it works perfectly.

Marton

Marton

No avatar

2005-08-22 03:23

Still trying without success...

Phpinfo() shows gd is loaded:

gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

I thought maybe GD2 was not loading but it appears with phpinfo() so it is there... I got no clue on what's going on... maybe a path problem?
It is very strange that it shows Products not found...

Marton

Marton

No avatar

2005-08-22 05:17

Still trying...

Now I tried Quick Forum... I installed it following the steps:

1) Requirements PHP > 4.1.h (I have 4.4.0)... Register_globals is ON in my php.ini (I have only one php.ini, just in case...)
2a) Didn't do any chmod because I'm on Windows...
2b) Opened install.php, said installation successful.
2c) Changed default admin user/pass
3d) When I try to open http://24.232.67.71/qf/admin.php I get the form filled again with "\'\'" and it doesn't work when I put my admin user/pass.

I don't know what happens... but the server is OK and PHP is OK...

Well, I will get some sleep now... I spent almost all day trying to get this working :(

Marton

wewior (OpenSolution)

Avatar: wewior

2005-08-22 08:35

gd 2 library is used for images, i think you have problem with some server functions, because all html have slash before ' and " chars
check it may be there is some addslashes function on your server and that is why your code looks like that, check it

Marton

No avatar

2005-08-22 11:32

Hey, hey, hey!! Way to go, Wewior!!!!!!!!!!!!!

Thanks to your tip, I looked at the server's config... and everything was fine, there was no option for the slashes...
So I moved on and started looking into the php.ini........

First, when I saw this:
; Use Sybase-style magic quotes (escape ' with '' instead of \').
magic_quotes_sybase = Off

I changed it to On, and at least the images from the bottom started appearing so it was a change... and the forms were not filled with '\... but it didn't work like it should...

But then... I changed this:

; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
magic_quotes_runtime = On

To OFF, and NOW IT IS WORKING LIKE A FUC**NG CHARM!!!!!!!!!
So go ahead and make this sticky or something so nobody spends a day trying to figure it out!

Thanks again Wewior!!!!!!

Marton

lyeanna

No avatar

2009-09-11 04:33

how can i get to php.ini?
i've searched the forum and what i found i have to find the location of php.ini file.
that file located in usr/lib/.
so how can i get there?
someone help me...

Back to top
about us | contact