Loaded Commerce Community

Banner


Board index » CRE Loaded Support » CRE Loaded 6.3

All times are UTC - 5 hours




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: image upload not working on products
PostPosted: Thu Feb 02, 2012 2:21 pm 
Offline
CRE Newbie

Joined: Thu Jan 27, 2011 2:30 am
Posts: 10
Please help me figure out how to fix an image upload problem. We were able to upload images to products a few months ago, this no longer works. We have not made any changes, but think our host may have upgraded something.
https://www.btcbookstore.com/bktxt/catalog
CRE Loaded PCI Pro v6.4.1a
OS/Hosting Type:
Linux / Shared Hosting
Hosting Configuration:
2.2
PHP Version:
PHP 5.2

Sincerely,
John


Top
 Profile  
 
 Post subject: Re: image upload not working on products
PostPosted: Thu Feb 02, 2012 8:10 pm 
Offline
CRE Talented

Joined: Thu Dec 25, 2008 5:09 pm
Posts: 489
Location: CO
Have you checked the file permissions on the image folder?


Top
 Profile  
 
 Post subject: Re: image upload not working on products
PostPosted: Thu Feb 02, 2012 10:36 pm 
Offline
CRE Newbie

Joined: Thu Jan 27, 2011 2:30 am
Posts: 10
Yes, we have checked the permissions. We set them to write all and to all 7's. We are able to ftp to the folder to add images.
Thanks for any help.


Top
 Profile  
 
 Post subject: Re: image upload not working on products
PostPosted: Fri Feb 03, 2012 3:10 pm 
Offline
CRE Talented

Joined: Thu Dec 25, 2008 5:09 pm
Posts: 489
Location: CO
Any errors being reported either when you try to do the upload or in the error log files?


Top
 Profile  
 
 Post subject: Re: image upload not working on products
PostPosted: Fri Feb 03, 2012 6:57 pm 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2405
Location: New Zealand
So if you suspect that your host changed something and you contacted them, what was the answer?

What are you using to upload via Cre - just attaching an image off the desktop via the product edit page or using Admin >. Tools >> Image Manager ?

Tried Admin >> Tools >> Server Info ... any red crosses?

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: image upload not working on products
PostPosted: Sat Feb 04, 2012 1:37 pm 
Offline
CRE Newbie

Joined: Thu Jan 27, 2011 2:30 am
Posts: 10
I see only green checks on the server page, but did notice the following at the end of the page:
Fatal error: Call to undefined function apache_get_modules() in /home/content/b/t/c/btcbook/html/bktxt/catalog/admin/server_info.php on line 344

I have used the image manager and product page to upload from the desktop. Both times the process goes through with now warnings or errors but the images are not uploaded or shown on the product.

Thanks for your attention to this.

Sincerely,

John


Top
 Profile  
 
 Post subject: Re: image upload not working on products
PostPosted: Sat Feb 04, 2012 8:20 pm 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2405
Location: New Zealand
Right, and so what did your hosting company say when you asked them? Ie what has changed recently? Also consider what you've changed recently (if anything) as well. Apache module error is irrelevant.

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: image upload not working on products
PostPosted: Sat Feb 04, 2012 9:18 pm 
Offline
CRE Newbie

Joined: Thu Jan 27, 2011 2:30 am
Posts: 10
The host is Godaddy and they said they upgraded the php version, I do not remember which version. They said it should not have any effect but that maybe I should upgrade the store software.

Thanks
John


Top
 Profile  
 
 Post subject: Re: image upload not working on products
PostPosted: Sun Feb 05, 2012 12:09 am 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2405
Location: New Zealand
If they've upgraded the php it's probably to 5.3 - you can see this in admin >> tools >> server info.
If so, this may help if you want to try and fix things yourself:
http://www.codemehappy.com/2012/01/how- ... php-5-3-x/

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: image upload not working on products
PostPosted: Sun Feb 05, 2012 1:39 pm 
Offline
CRE Talented

Joined: Thu Dec 25, 2008 5:09 pm
Posts: 489
Location: CO
soundzgood2 wrote:
If they've upgraded the php it's probably to 5.3 - you can see this in admin >> tools >> server info.
If so, this may help if you want to try and fix things yourself:
http://www.codemehappy.com/2012/01/how- ... php-5-3-x/

Simon


Simon -- this discussion might need a different thread (upgrade to php 5.3) but even in CRE 6.5 (loaded commerce 6.5) has at least "ereg" still in it.
One quick one: in index.php
if ( (!isset($_GET['sort'])) || (!ereg('[1-8][ad]', $_GET['sort'])) || (substr($_GET['sort'], 0, 1) > sizeof($column_list)) ) {

So I would guess even if someone upgraded to 6.5 they still would have issues.
Mike


Top
 Profile  
 
 Post subject: Re: image upload not working on products
PostPosted: Sun Feb 05, 2012 7:32 pm 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2405
Location: New Zealand
cheapo wrote:
Simon -- this discussion might need a different thread (upgrade to php 5.3) but even in CRE 6.5 (loaded commerce 6.5) has at least "ereg" still in it.
One quick one: in index.php
if ( (!isset($_GET['sort'])) || (!ereg('[1-8][ad]', $_GET['sort'])) || (substr($_GET['sort'], 0, 1) > sizeof($column_list)) ) {

So I would guess even if someone upgraded to 6.5 they still would have issues.
Mike

You're right - that'd need a different thread. I'm just asking if they've upgraded to 5.3 ... obviously a few conflicting bits of info from the op here as he's got 5.2 mentioned in the OP.
Deprecated eregs will affect cart scripts in different ways, but server configurations will stop stuff from working fullstop.

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: image upload not working on products
PostPosted: Mon Feb 06, 2012 11:53 pm 
Offline
CRE Newbie

Joined: Thu Jan 27, 2011 2:30 am
Posts: 10
Please find the hosting info, sorry for not sending earlier:

Server Host: p3nlhssl062.shr.prod.phx3.secureserver.net (173.201.216.95) Database Host: 184.168.225.40 (184.168.225.40)
Server OS: Linux 2.6.18-238.19.1.el5PAE Database: MySQL 5.0.92-log
Server Date: 02/06/2012 20:51:37 Database Date: 02/06/2012 20:51:37
Server Up Time: 21:51:37 up 159 days, 21:47, 0 users, load average: 2.58, 3.29, 3.07
HTTP Server: Apache
PHP Version: 5.2.14 (Zend: 2.2.0)

Should I still edit index.php as explained below:
One quick one: in index.php
if ( (!isset($_GET['sort'])) || (!ereg('[1-8][ad]', $_GET['sort'])) || (substr($_GET['sort'], 0, 1) > sizeof($column_list)) ) {

Sincerely,
John


Top
 Profile  
 
 Post subject: Re: image upload not working on products
PostPosted: Mon Feb 06, 2012 11:59 pm 
Offline
CRE Talented

Joined: Thu Dec 25, 2008 5:09 pm
Posts: 489
Location: CO
No you shouldn't need to make those types of edits since your PHP version is not 5.3.(it is 5.2.14)

I would also ask your host if they did make any changes as Simon suggested...

Mike


Top
 Profile  
 
 Post subject: Re: image upload not working on products
PostPosted: Thu Feb 09, 2012 2:29 pm 
Offline
CRE Newbie

Joined: Thu Jan 27, 2011 2:30 am
Posts: 10
Thanks for the help. The host renamed the php5.ini file and the upload problem has been corrected.

John


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

Board index » CRE Loaded Support » CRE Loaded 6.3

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Thu May 24, 2012 1:42 pm
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Login

Forums Latest Activity

Top Listing

1. Cart2Cart - Shopping...
    Category: Shopping Cart Database Conversion Scripts
    
2. Points & Rewards PLUS!...
    Category: Add-Ons
    
3. Configuration Server...
    Category: Fixes
    
4. Credit Card with CCV
    Category: Payment Modules
    
5. CC7333_ATS
    Category: Templates
    
Show more...

© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy