I am getting this error with D7 RC

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 398628 bytes) in /home/name/public_html/inc/classes/BxDolTemplate.php on line 1207

Wondering if anyone knows of this error

Quote · 17 Nov 2009

Follow this steps

1: stop wondering

2: click on that link

3: read it

4: edit php.ini (and if you are wondering where php.ini is .... ROOT )

:)

http://www.boonex.com/unity/forums/topic/migration-script-installation-error.htm

Quote · 17 Nov 2009

Follow this steps

1: stop wondering

2: click on that link

3: read it

4: edit php.ini (and if you are wondering where php.ini is .... ROOT )

:)

http://www.boonex.com/unity/forums/topic/migration-script-installation-error.htm

I guess i should either make a php.ini file or submit a ticket with my host. They have been very helpful in setting up my account on the server to meet the needs of my dolphin project site.

Quote · 17 Nov 2009

it's up to you

here's a sample so you have an idea of what it looks like ;)

register_globals = off
allow_url_fopen = on
allow_url_include = Off
magic_quotes_gpc= On
file_uploads = On

display_errors = Off
display_startup_errors = Off
log_errors = On
error_log = /home/content/03/3507503/html/inc/phperr.txt
error_reporting = E_ALL

mysql.allow_persistent = Off
expose_php = Off
memory_limit = 128M
upload_max_filesize = 128M
post_max_size = 128M
max_input_time = 660
max_execution_time = 660
AddType x-mapp-php5 .php
variables_order = "EGPCS"
extension_dir = ./
upload_tmp_dir = /tmp2
precision = 12
SMTP = relay-hosting.secureserver.net
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="


[Zend]
zend_extension=/usr/local/zo/ZendExtensionManager.so
zend_extension=/usr/local/zo/4_3/ZendOptimizer.so

Quote · 17 Nov 2009

all there is is a script that says php.php but no php.ini but somehow most of those settings are already set on my account. not sure how my host did that?

Quote · 17 Nov 2009

memory_limit = 128M
upload_max_filesize = 128M
post_max_size = 128M

is what you need if its there change it

Quote · 17 Nov 2009

basically i can view any page on the site so far as i can tell except for the profile pages

Quote · 17 Nov 2009

i dont see a php.ini file so i sent the info over to my host.

Quote · 17 Nov 2009

i dont see a php.ini file so i sent the info over to my host.

peter if you dont see it, then most likely its not there. as for the error you have, thats not a script error that is a server error. the information that was passed on was to modify the parameters on the server, and really have nothing to do with the script, other than its essential requirements for the functionality and performance of the site.

typically if you dont see a php.ini you would open notepad or some similar text editor. i prefer notepad++ you would write the lines of source that you needed in there and save the file as php.ini, then FTP that over to the server.

if you create a phpinfo() file, you will see there are two listings one for local and one for global. sometimes the servers are configured to run only global settings and do not allow php flags in htaccess and/or do not allow local php.ini files to be created.

this will need to be forwarded to your host as you mentioned.

Regards,

DosDawg

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 17 Nov 2009

i dont see a php.ini file so i sent the info over to my host.

peter if you dont see it, then most likely its not there. as for the error you have, thats not a script error that is a server error. the information that was passed on was to modify the parameters on the server, and really have nothing to do with the script, other than its essential requirements for the functionality and performance of the site.

typically if you dont see a php.ini you would open notepad or some similar text editor. i prefer notepad++ you would write the lines of source that you needed in there and save the file as php.ini, then FTP that over to the server.

if you create a phpinfo() file, you will see there are two listings one for local and one for global. sometimes the servers are configured to run only global settings and do not allow php flags in htaccess and/or do not allow local php.ini files to be created.

this will need to be forwarded to your host as you mentioned.

Regards,

DosDawg

i have a master reseller account that im using for this. my host has been very supportive of getting the settings i need set for my dolphin project site. I use the reseller to sell guild, clan and alliance sites through my social network project site that is geared towards mmorpg gamers ect. when in the root of my reseller i did not see any php.ini or php.info files not did i see any in the root of the dolphin project site. There is however a php.php file in the root of my reseller.

I submitted a ticket to my host giving them the info you folks have provided me and they replied back that they are going to make the needed changes to rid of my error. Thank you so much to everyone who has helped in the replies to my post on this issue.

Quote · 17 Nov 2009

Why is it so important for expose php to be off?

Quote · 17 Nov 2009

Security Implications

When enabled, expose_php reports in every request that PHP is being used to process the request, and what version of PHP is installed. Malicious users looking for potentially vulnerable targets can use this to identify a weakness.

expose_php is enabled by default.

Recommendations

Turn expose_php off. It won't by itself fend off a determined attacker, but it will lower visibility to attacks that rely on simple reconnaissance techniques to scan for vulnerable targets.

You can only disable expose_php in the php.ini file:

; Disable expose_php for security reasons
expose_php = 'off'
Quote · 17 Nov 2009

Thank you both so much for your help. All settings have been made on my server and everything is going smoothly now without errors.

Quote · 17 Nov 2009

Clear.

But what if my host memory limit is 64M?

Any possibility to devide migration profiles?

Quote · 26 Nov 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.