×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Problem editing Hotspots

Problem editing Hotspots 9 years 7 months ago #30864

  • Blake McClelland
  • Blake McClelland's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
After updating to the current version of Hotspots, any time I try to edit a particular hotspot in the backend, I get a page with no styling, as shown in the images.

Any idea what may be causing the problem?
Attachments:

Problem editing Hotspots 9 years 7 months ago #30872

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Blake,
It seems that you have some fatal error that is not displayed because error reporting in the global config is set to none.
Please go to joomla's global config and set error reporting to maximum or developer, then navigate back to the edit screen and now you should see an error message. If you still see the same screen. Please look in the source code of the page. Maybe there is a fatal error that is not printed in the screen, but is in the source code.

Kind regards,
Daniel

Problem editing Hotspots 9 years 7 months ago #30879

  • Blake McClelland
  • Blake McClelland's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Hi Daniel,

I've looked in the source code and this is the error at the end of the page.

<script type="text/javascript">
document.getElementById("file-upload-fake").addEventListener("click", function () {
document.getElementById("file-upload-real").click(); // trigger the click of actual file upload button
});

jQuery(document).ready(function () {
var $ = jQuery;

// Initialize the jQuery File Upload widget:
$('#fileupload').fileupload({
// Uncomment the following to send cross-domain cookies:
//xhrFields: {withCredentials: true},
formData: {},
autoUpload: true,
maxFileSize: <br />
<b>Fatal error</b>: Call to undefined method CompojoomHelperMedia::toBytes() in <b>/home/blakemc/subdomains/mobile/new/libraries/compojoom/layouts/fileupload/fileupload.php</b> on line <b>201</b><br />

Thanks,
Blake

Problem editing Hotspots 9 years 7 months ago #30890

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Blake,
What Joomla version are you using? Are you on 3.3 or 3.4?

Regards,
Daneil

Problem editing Hotspots 9 years 7 months ago #30896

  • Blake McClelland
  • Blake McClelland's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Hey,

I'm still using 3.3.

Thanks
Blake

Problem editing Hotspots 9 years 7 months ago #30897

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hm, this shouldn't happen then. The toBytes function is available since Joomla 3.2: api.joomla.org/cms-3/classes/JHelperMedia.html
The CompojoomHelperMedia class just extends from JHelperMedia.
Are you running absolutly the latest version of joomla 3.3? 3.3.6? If not, can you update to it.
If you are already running 3.3.6 than I'll need access to the site as I can't reproduce the issue on my machine. Could you create a private ticket and give me access credentials to the site.

Thanks,
Daniel

Problem editing Hotspots 9 years 7 months ago #30905

  • Blake McClelland
  • Blake McClelland's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 0
Updating to the latest version of Joomla has fixed the issue.

Thanks for your help! :)
  • Page:
  • 1
Time to create page: 0.120 seconds