Page 1 of 1

[SOLVED]CGExtentions problem?

Posted: Tue Jun 05, 2012 5:13 pm
by lyle
Hi,
I just updated CGExtentions to 1.29 and seem to have lost all images on my site except those on the home page.
I'm thinking something changed in the addressing for the images?
Perhaps I was doing something wrong previously that happened to work but doesn't now?

Here is the address I'm using for one of the (non-working)images.
<img src="uploads/images/jpg/member3.jpg"
Seems like it should work.

The website is http://www.michrocks.org

Oops! It looks like the address(es) is/are being incorrectly generated.
In the above example previously the address would have been:
http://www.michrocks.org/uploads/images/jpg/member3.jpg
currently it is coming out:
http://www.michrocks.org/club-info/uplo ... ember3.jpg.


Thanks for your HELP!

P.S. Is there a way to roll back to CGExtensions 1.28.2?



Here's the pertinent data for the site :


Cms Version: 1.10.3

Installed Modules:

CMSMailer: 2.0.2
FileManager: 1.2.0
MenuManager: 1.7.7
ModuleManager: 1.5.3
News: 2.12.3
Printing: 1.1.2
Search: 1.7
ThemeManager: 1.1.4
TinyMCE: 2.9.6
CGExtensions: 1.29
CMSSimplepie: 1.0
SimpleFeedback: 0.3
CGCalendar: 1.8.3
Members: 1.1.1
NMS: 2.3.2
OwnersManual: 1.0.2
VisitorStats: 0.2.2
Gallery: 1.5.3
FormBuilder: 0.7.2
FormBrowser: 0.4.1
SEOTools2: 1.0.10
CMSPrinting: 1.0
MicroTiny: 1.1.1

Config Information:

php_memory_limit:
process_whole_template: false
output_compression: true
max_upload_size: 24000000
default_upload_permission: 664
url_rewriting: mod_rewrite
page_extension: .html
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:

phpversion: 5.2.17
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
memory_limit: 128M
max_execution_time: 120
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 24M
upload_max_filesize: 24M
session_save_path: /var/tmp (0755)
session_use_cookies: On (True)
xml_function: On (True)

Server Information:

Server Api: cgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.50

Re: CGExtentions problem?

Posted: Tue Jun 05, 2012 6:03 pm
by lyle
Ok,

I've found that previously referencing an image went (as this: <img src="uploads/images/jpg/member3.jpg"/>)
No leading slash was used. Now if I add a leading slash (as this: <img src="/uploads/images/jpg/member3.jpg"/>) an individual image will parse correctly.

Unfortunately this doesn't help me much as most "images" on my site use Random Image Select and the added slash won't work with it.

Re: CGExtentions problem?

Posted: Tue Jun 05, 2012 6:38 pm
by Jos
My guess is that you don't have a {metadata} tag in the <head> section of your template

Re: CGExtentions problem?

Posted: Tue Jun 05, 2012 6:48 pm
by lyle
Jos,

You are 100% correct no {metadata} tag, Because {SEOtools2} (which I am using) doesn't want it there!

But now that you mention it I think I also updated SEOtools2
At the Same time I did CGExtentions!

Could be that's where the problem is!

I'll do a second post.

Re: [SOLVED]CGExtentions problem?

Posted: Sun Mar 31, 2013 11:07 am
by howey
Hi

I had the random image tag working on a site until I upgraded to 1.11.5, originally the site was still running 1.5. I went through sequential upgrades through all the major iterations 1.6, 1.7 etc.

Now the random image tag is causing a problem when I try and alter the templates. If I edit the template the system hangs. I went through all the code in the template and it seems that when I introduce the random image tag the problem arises.

This isn't a critical issue, but it would be nice to retain the use of Random Images.

Any suggestions the tag is as below and I have the metadata tag in the head

Code: Select all

{random_image folder="uploads/images/random02/"}

Re: [SOLVED]CGExtentions problem?

Posted: Sun Apr 14, 2013 7:52 pm
by Dr.CSS
Did you check to make that tag is still in Tags..?

Re: [SOLVED]CGExtentions problem?

Posted: Sun Apr 14, 2013 8:18 pm
by howey
Hi, Yes I made sure I had the most up-to-date tag available from the forge. I was wondering whether it was anything to do with default image routes.

Re: [SOLVED]CGExtentions problem?

Posted: Tue Apr 16, 2013 9:33 pm
by Dr.CSS
That tag is no longer part of CMSMS from what I can see, just looked at site using the latest...

Re: [SOLVED]CGExtentions problem?

Posted: Wed Apr 17, 2013 7:20 am
by howey
Hi, I think I had realised that it had stopped being developed. Pity really, it was a nice function to have, to keep sites looking fresh to repeat visitors. If I had the programming skills I would look at developing it myself.

Thanks for the reply. CMSMS is a great system with a really nice group of people behind it. I am surprised it doesn't get more main stream coverage - everything seems to be Wordpress.

Thanks again.