Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / Arabic ADS categories problem with images

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

Arabic ADS categories problem with images

More
11 years 1 month ago - 11 years 1 month ago #4095 by tompap
Replied by tompap on topic Arabic ADS categories problem with images
Hello,

The fix is done
could you validate the following changes:

Edit components/com_adsmanager/lib/tools.php

replace the function stringURLSafe per:
static public function stringURLSafe($string,$unicodesupport=false)
	{
		if(version_compare(JVERSION, '1.6', 'ge')) {
			if ($unicodesupport == false && JFactory::getConfig()->get('unicodeslugs') == 1)
			{
				$output = JFilterOutput::stringURLUnicodeSlug($string);
			}
			else
			{
				$output = JFilterOutput::stringURLSafe($string);
			}
		} else {
			$output = JFilterOutput::stringURLSafe($string);
		}
 
		return $output;
	}

in administrator/com_adsmanager/tables/contents.php
around 498
replace
jimport( 'joomla.filter.output' );
		if (ADSMANAGER_SPECIAL == "abrivac") {
			$imgtitle = TTools::stringURLSafe(getMultiLangText($row->ad_headline));
		} else {
			$imgtitle = TTools::stringURLSafe($row->ad_headline);
		}

per
jimport( 'joomla.filter.output' );
		//True to force transliterate
		$imgtitle = TTools::stringURLSafe($row->ad_headline,true);
		if ($imgtitle == "") {
			$gimtitle="image";
		}
Last edit: 11 years 1 month ago by tompap.
The following user(s) said Thank You: adarr
More
11 years 1 month ago #4097 by sahht1362
Replied by sahht1362 on topic Arabic ADS categories problem with images
Thank you dear,
But I think this solution doesn't fix the problem. did you check it ?
The following user(s) said Thank You: adarr
More
11 years 1 month ago #4126 by tompap
Replied by tompap on topic Arabic ADS categories problem with images
We checked on our side without any issue.

$gimtitle="image";

should be

$imgtitle="image";

What are the name of the images generated with this new code on your server ?
The following user(s) said Thank You: adarr
More
11 years 1 month ago - 11 years 1 month ago #4138 by sahht1362
Replied by sahht1362 on topic Arabic ADS categories problem with images
I corrected gim to img.
but when I am in administrator and want to edit a previous ads and add an image to it,
after press save and close, it will show me a blank page.
but the image will save in /tmp/plupload directory with random name.
Last edit: 11 years 1 month ago by sahht1362.
The following user(s) said Thank You: adarr
More
11 years 1 month ago #4175 by tompap
Replied by tompap on topic Arabic ADS categories problem with images
blank page mean PHP error. Please active error_reporting to maximum in the joomla configuration and try again.

Maybe there is a small glitch in the code I gave you.

Please send me a mail also to webmaster @ joomprod . com I will sent you a pre2.9.10 so you can test it.
The following user(s) said Thank You: adarr
More
11 years 1 month ago #4400 by sahht1362
Replied by sahht1362 on topic Arabic ADS categories problem with images
Dear tompap,
I checked this issue for more that 2 weeks. Finally I found it!
I checked version 2.9.9 (with changes that you send me on this post) and version 2.9.10 on my live site.
In live site image upload don't work and shows the blank page.
I enabled the error reporting but it don't shows me any error.
I downloaded full backup of that live site and runs it on local (Wamp 2.2) and it works! images are uploaded successfully on backend.
But in frontend, don't shows me the upload field.

=======================================================
So I think there is problem in my PHP.ini file.
Is there a specific feature or php.ini setting that I must correct?
Or the problem is caused by another thing?

Finally, I can email you my cPanel info that you can check it if you need.
I need this feature, please help me.
Thank you.
The following user(s) said Thank You: adarr
Moderators: perry
Time to create page: 0.155 seconds
Powered by Kunena Forum