Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2012-05-20 13:35:20

rscott23
Member
Registered: 2012-05-19
Posts: 7

Error when adding new category

First off I want to say that these forums and its members are awesome. I've been reading, researching and in general just absorbing new information on these forums and it has allowed me to basically go from scratch to a working and almost fully functional site all on my own.

I'm in the process of now populating the site and I ran into a snag. I first hit a snag when trying to mass embed videos, but I found the fix for that by applying chmod 777 to my /media/vidoes/tmb directory, and by making sure I had categories setup so that the videos could be placed correctly. My new problem is when I add a category, as soon as I add the category it then throws an exception error. When going back to the panel the category is indeed there, but minus the thumbnail image I uploaded. This leads me to believe that the issue is with the image being placed on the server itself, but looking at the error I can't decihper if it's a permission problem or maybe just an upload issue. I have attached the error.

Thanks in advance for any help.

error.jpg

Offline

#2 2012-05-20 14:05:07

rscott23
Member
Registered: 2012-05-19
Posts: 7

Re: Error when adding new category

Bit of an update, I think I found the issue, but i'm not 100% sure how to fix. I am using Hostv.com for my VPS hosting, so I have WHM/CPanel for management. Anyone know how to add GD support within the cpanel?

Also, a bit of a frustration here. It seems that everytime I run Admin->Tools->System Check within the backend admin panel of the script, it changes what it sees. I had everything in the green under the required section, and now GD support is red. I have also changed my Max Upload, Memory Limit, Post Limit and it now shows as a problem where it didn't before. I changed these settings within the WHM console under PHP Configuration, but it seems the changes aren't seen or didn't take.

error2.jpg

Offline

#3 2012-05-20 15:27:27

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Error when adding new category

Recompile Apache/PHP from WHM and add support for GD (make sure to add support for Freetype in GD Also). Once done, it will work. Also you need to chmod all folders in tmp/ and media/ to 777.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#4 2012-05-20 16:28:27

rscott23
Member
Registered: 2012-05-19
Posts: 7

Re: Error when adding new category

To recompile, that is Apache Update program in WHM, correct?

I see two options for GD, should I enable it here:

gd1.jpg

Or the second option has it included here:

gd2.jpg

I also didn't see anything for Freetype on any of those GD options under the 'Exhaustive Options List' when I run through this Apache Updater. Thanks again for all the help!

Offline

#5 2012-05-20 20:43:49

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Error when adding new category

I think its called TrueType in WHM PHP build option.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#6 2012-05-21 23:34:58

rscott23
Member
Registered: 2012-05-19
Posts: 7

Re: Error when adding new category

Thanks, issue is resolved!

Offline

Board footer

Powered by FluxBB