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 / Problem in submitting ad - ad manager extension

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

Problem in submitting ad - ad manager extension

More
10 years 9 months ago - 10 years 9 months ago #18129 by nissonline
I am facing following problems -

1. - only .png files uploaded - not .jpg files during submitting the ads
2. - after submitting ad - link show in address bar - http://www.______.com/index.php/write-ads?task=save
and a blank page displayed - not a single message about submitting ad shown and ad not submitted.

Please help
Last edit: 10 years 9 months ago by nissonline.
The following user(s) said Thank You: adarr
More
10 years 9 months ago #18149 by loic
Hello,

1. What does the uploader do when you try to upload a jpg ? It load without stopping ?
2. You have a php error on the save task, Could you enable the error reporting of Joomla in its setting and retry to post an ad ?

Best regards.
The following user(s) said Thank You: adarr
More
10 years 9 months ago - 10 years 9 months ago #18165 by nissonline
Replied by nissonline on topic Problem in submitting ad - ad manager extension
1- Default uploader which comes with the extension. I didn't specify or change.
2- Following error displayed -

Warning: imagecreatefrompng(): '/public_html/images/com_adsmanager/contents/uploaded/p1aaei1j3n152p17td6glru87dl3.png' is not a valid PNG file in /public_html/administrator/components/com_adsmanager/models/adsmanager.php on line 130

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 4000 bytes) in /public_html/administrator/components/com_adsmanager/models/adsmanager.php on line 148
Last edit: 10 years 9 months ago by nissonline.
The following user(s) said Thank You: adarr
More
10 years 9 months ago #18175 by loic
1- In components/com_adsmanager/controller.php, replace the code line 1074 to 1088:
$exif = exif_read_data($path);
				if (!empty($exif['Orientation'])) {
					switch ($exif['Orientation']) {
						case 3:
							$image = imagerotate($image, 180, 0);
							break;
						case 6:
							$image = imagerotate($image, -90, 0);
							break;
						case 8:
							$image = imagerotate($image, 90, 0);
							break;
					}
					imagejpeg($image, $path);
				}

By this one:
if(function_exists('exif_read_data')) {
                    $exif = exif_read_data($path);
                    if (!empty($exif['Orientation'])) {
                        switch ($exif['Orientation']) {
                            case 3:
                                $image = imagerotate($image, 180, 0);
                                break;
                            case 6:
                                $image = imagerotate($image, -90, 0);
                                break;
                            case 8:
                                $image = imagerotate($image, 90, 0);
                                break;
                        }
                        imagejpeg($image, $path);
                    }
                }

2- You need to modify the option MEMORY_LIMIT in your file php.ini and raise it to 64M or 128M.

Best regards.
The following user(s) said Thank You: adarr
More
10 years 9 months ago #18207 by nissonline
Replied by nissonline on topic Problem in submitting ad - ad manager extension
Sir/Madam,

1- thanks for image solutions.
2- I am on shared hosting and not able to increase the php memory limit 128.
please suggest what to do..
The following user(s) said Thank You: adarr
More
10 years 9 months ago #18219 by loic
Hello,

for the point 2, your are limited by your host in that regard, we cannot help you to solve this problem.

Best regards.
The following user(s) said Thank You: adarr
Moderators: perry
Time to create page: 0.078 seconds
Powered by Kunena Forum