Advertisement:

Author Topic: SOS PROBLEM (UPLOADED IMAGES NOT SHOWING)  (Read 2647 times)

alexandrosglyky@gmail.com

  • Newbie
  • *
  • Posts: 25
Re: SOS PROBLEM (UPLOADED IMAGES NOT SHOWING)
« Reply #30 on: June 24, 2015, 12:00:07 am »
do you know an osclass developer so may help with this?

cartagena68

  • issues
  • Hero Member
  • *
  • Posts: 1198
Re: SOS PROBLEM (UPLOADED IMAGES NOT SHOWING)
« Reply #31 on: June 24, 2015, 12:04:56 am »
No, i don't know them.

There are lots of reasons why your site might be serving a 500 Error to your users but those are most common:

A Permissions Error. In most cases, a 500 Internal Server Error is due to an incorrect permission on one or more files or folders. In most of those cases, an incorrect permission on a PHP and CGI script is to blame. These should usually be set at 0775 (-rwxr-xr-x).

A PHP Timeout. If your script connects to external resources and those timeout, an HTTP 500 error can occur. Timeout rules, or better error handling in your script, should help if this is the cause of the 500 error.

A Coding Error in .htaccess. While not as common, be sure to check that your site's .htaccess file is properly structured.

this is from http://pcsupport.about.com/od/findbyerrormessage/a/500servererror.htm

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: SOS PROBLEM (UPLOADED IMAGES NOT SHOWING)
« Reply #32 on: June 24, 2015, 01:25:34 am »
Check the next errors in attached image I get on your original site when trying to post a new ad (I registered using Facebook).
There are errors in your theme which might be related to JQuery or they were always there.... ???

I'll check your test site for the same and post the findings in next post.

MY FRIEND IF I EDIT AN EXISTING LISTING AND UPLOAD AN IMAGE THERE ITS NOT A PROBLEM!!!

WHY I HAVE A PROBLEM ONLY ON THE NEW LISTINGS UPLOADING IMAGES?

I CREATE A COPY OF THE SITE HERE http://universpiti.gr/test/ BUT WITH A NEW DATABASE AND THERE EVERYTHINK ITS WORKING WELL!!!

WHAT IS THE PROBLEM?

alexandrosglyky@gmail.com

  • Newbie
  • *
  • Posts: 25
Re: SOS PROBLEM (UPLOADED IMAGES NOT SHOWING)
« Reply #33 on: June 24, 2015, 01:37:01 am »
yes please i will wait for your message!!!!!!

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: SOS PROBLEM (UPLOADED IMAGES NOT SHOWING)
« Reply #34 on: June 24, 2015, 01:39:41 am »
The error count in your test setup when trying to post a new ad, just keep counting up....serious issue if you ask me:

Quote
Count: 129 (and counting)
index.php?page=item&action=item_add:419
Uncaught TypeError: Cannot read property 'appendChild' of nullindex.php?page=item&action=item_add:419
addNewPhotoindex.php?page=item&action=item_add:440 add_file_field
VM456:1 (anonymous function)

I am able to upload images but only 1 is showing though the system says there are 4 and the limit is 4.

From what I see now my guess is that this theme has some serious issues and you should ask your theme creator for help.
If you made changes you must undo them....asking your host for a restore from a date you know your site was working okay is also an option to undo any changes. But your test setup is not working 100% as opposed to what you mentioned.


Good luck,
Eric

alexandrosglyky@gmail.com

  • Newbie
  • *
  • Posts: 25
Re: SOS PROBLEM (UPLOADED IMAGES NOT SHOWING)
« Reply #35 on: June 24, 2015, 01:44:49 am »
this counting think the site was having it and before, and with that (counting) the site was working

i ask my server provider for a back up but they told me that they have only at the date of 22/06 :(

so there is not a way to restore the site before 21st in any other way??

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: SOS PROBLEM (UPLOADED IMAGES NOT SHOWING)
« Reply #36 on: June 24, 2015, 01:53:18 am »
Not unless you made a backup of your system yourself through FTP including a DB backup.

Sorry to see you having problems but as far as I can see it is not Osclass but theme issue somehow (or server maybe but you mentioned nothing changed).

Almost certain the problem lies here:
Uncaught TypeError: Cannot read property 'appendChild' of nullindex.php?page=item&action=item_add:419
addNewPhotoindex.php?page=item&action=item_add:440 add_file_field

But what you should do is setup Osclass in DEBUG mode for both your system and your DB and see what your logfile says. I am pretty sure your error will show up in the logfile making it maybe easier to track down.

One question I have: did your host by any chance do an upgrade of PHP?
One of my hosts recently did something like that (without letting me know they did an upgrade) and I had errors all of a sudden in another site of mine.

Regards,
Eric

Aficionado

  • Guest
Re: SOS PROBLEM (UPLOADED IMAGES NOT SHOWING)
« Reply #37 on: June 24, 2015, 01:56:55 am »
Guys why spending so much time with something so simple.

When we have such problems, we 1st enable debug. The guy just doesn't want to debug anything.

Then we switch to the DEFAULT THEME. It is so simple. So simple.

If those thing don't help, we ask the hosting provider for the ERRORS IN THE LOGS.


alexandrosglyky@gmail.com

  • Newbie
  • *
  • Posts: 25
Re: SOS PROBLEM (UPLOADED IMAGES NOT SHOWING)
« Reply #38 on: June 24, 2015, 02:00:01 am »
my friend i try to make this https://doc.osclass.org/Debug_PHP_errors

the debug but i didnt find any file named debug.log in oc-content

can you specify me how i am going to do that?

i am not a programmer i lust follow steps!!

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: SOS PROBLEM (UPLOADED IMAGES NOT SHOWING)
« Reply #39 on: June 24, 2015, 02:01:49 am »
I would like to add to this list, you should check in your browser what errors are shown if any..... no errors showing in browser means all parsing went okay.  8)

Guys why spending so much time with something so simple.

When we have such problems, we 1st enable debug. The guy just doesn't want to debug anything.

Then we switch to the DEFAULT THEME. It is so simple. So simple.

If those thing don't help, we ask the hosting provider for the ERRORS IN THE LOGS.

Aficionado

  • Guest
Re: SOS PROBLEM (UPLOADED IMAGES NOT SHOWING)
« Reply #40 on: June 24, 2015, 02:04:29 am »
I would like to add to this list, you should check in your browser what errors are shown if any..... no errors showing in browser means all parsing went okay.  8)


Sure but (as in Wordpress also) the first thing they tell you is to switch to default theme. To rule out theme problems.

Of cource Firebug helps also, still this guy seems very new to all these, and kinda lost. So simple moves will help him more, instead of complicated suggestions.



alexandrosglyky@gmail.com

  • Newbie
  • *
  • Posts: 25
Re: SOS PROBLEM (UPLOADED IMAGES NOT SHOWING)
« Reply #41 on: June 24, 2015, 02:05:06 am »
here are the errors in the browser!

Aficionado

  • Guest
Re: SOS PROBLEM (UPLOADED IMAGES NOT SHOWING)
« Reply #42 on: June 24, 2015, 02:06:14 am »
my friend i try to make this https://doc.osclass.org/Debug_PHP_errors

the debug but i didnt find any file named debug.log in oc-content

can you specify me how i am going to do that?

i am not a programmer i lust follow steps!!

What are the PERMISSIONS of OC-Content folder ? You can see them with an ftp client or from Cpanel.


alexandrosglyky@gmail.com

  • Newbie
  • *
  • Posts: 25
Re: SOS PROBLEM (UPLOADED IMAGES NOT SHOWING)
« Reply #43 on: June 24, 2015, 02:06:27 am »
my friend i and i change the theme of my osclass site but the problem exists and in the other themes!!

alexandrosglyky@gmail.com

  • Newbie
  • *
  • Posts: 25
Re: SOS PROBLEM (UPLOADED IMAGES NOT SHOWING)
« Reply #44 on: June 24, 2015, 02:07:09 am »
the permition its 755