The images that I’m uploading doesn´t show up and I can´t make any changes in the Admin > General Settings

7 posts by 2 authors in: Forums > CMS Builder
Last Post: April 23, 2013   (RSS)

By carlos.pinedo - April 13, 2013 - edited: April 13, 2013

Hi, mi name is Carlos.

I recently bought the cms builder, I install the software and I´ve been creating sections, I have a problem with the upload fields: I’m uploading images and they dosent show up.  

In this link http://www.fecofutsalon.com/amfcms.php you can see the info uploaded trough the wysiwyg field.  But ,the image http://www.fecofutsalon.com/cmsAdmin/uploads/head-cont.jpg   doesn´t  show up. I think is an error in the "Admin > General Settings" but i can´t make any changes there. 

If you see the source of the link  http://www.fecofutsalon.com/amfcms.php you´ll see that the image src it´s wrong, like this:  <img src="//uploads/head-cont.jpg" width="985" height="350" alt="" />  the cmsAdmin is missing form the img src.

I need help with this, thanks in advance

Carlos Pinedo

By Dave - April 13, 2013

Hi Carlos,

Welcome to the forum and thanks for trying CMS Builder! :)

Try changing these settings under: Admin > General:

Upload Directory:       uploads/
Upload Folder URL:  /cmsAdmin/uploads/

Click Save and then reload your viewer page and check if the url is correct.

Hope that helps!  Let me know if that works for you.  Thanks.

Dave Edis - Senior Developer
interactivetools.com

By carlos.pinedo - April 14, 2013 - edited: April 14, 2013

Hi Dave,

Thanks for replying so fast.

I changed the settings you suggested and initially didnt worked. I made another changes on  my own. 


After I paste the generated code the first time the image didn´t show up:

This is the result: http://www.fecofutsalon.com/cms.php


Then I disabled the comments in the generated code: <!-- Uploads: Copy the tags... and // end uploads comment tag -->

This is the result: http://www.fecofutsalon.com/cms-disabled-comments.php


I have 2 questions,

Why the code comments interfere with the picture display?

How can we fix this?

Carlos Pinedo

By Dave - April 15, 2013

Hi Carlos, 

Why the code comments interfere with the picture display?

Looks like you found a bug.  I've made the following changes for the next release:

  • Open /lib/menus/_codeGenerator/generator_functions.php
  • Search for: Copy the tags
  • Add the code in red below:

          <!-- Uploads: Copy the tags from below that you want to use, and erase the ones you don't need. -->

I think this went unnoticed for so long because most people just erase that line, but we definitely want the default code to work, so thank you for reporting that issue.

Can you let me know if that fixes it for you or anything else you might need?  Thanks.

Dave Edis - Senior Developer
interactivetools.com

Hi Dave,

Thanks for the update. I´ll erase the comments lines until the update comes. I have another question: in the general settings, i checked the option " Expert mode - don't show instructions or extra html in Code Generator output " but the instructions keep appearing. Is this a bug? 

Carlos Pinedo

By carlos.pinedo - April 23, 2013 - edited: April 23, 2013

Hi Dave,

Yes, is removing the items that is supposed to.

Thanks for everything!